Home > The Error > The Error Code From The Last Command Is 127

The Error Code From The Last Command Is 127

Show: 10 25 50 100 items per page Previous Next Feed for this topic Home Services Forums Advertise Contact or Login Login to Your Account Remember Me? The layout uses /opt/httpd, /var/httpd and /etc/httpd as the directories to put the files and puts the man pages in /usr/share/man1 The "difficulity" is with apr and apr-util. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T… PHP Perl Regular Expressions Web Languages/Standards-Other Web Development Advertise Here 764 members asked questions and received And see the last comment in this thread: http://www.linuxquestions.org/questions/showthread.php?p=3607362#post3607362 Interesting! check over here

Copyright © 2006 - 2014, JustSkins.com 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 I have successfully compiled apr and apr-utils as follows: # Build and install apr ./configure --prefix=/usr/local/apr-httpd/ make make install # Build and install apr-util ./configure --prefix=/usr/local/apr-util-httpd/ --with-apr=/usr/local/apr-httpd/ --with-openssl --with-crypto --with-ldap --with-expat=/usr To revert to gcc you must reestablish the link /usr/bin/cc -> /usr/bin/gcc You should also rename /usr/bin/gcc to get it out of the way. In other words, the system doesn't understand your command, because it doesn't know where to find the binary you're trying to call. my site

Good luck Nigel Log in to reply. To be clear: I for one didn't find any hint how to successfully use gcc for this. inverts the exit status returned. Stop.

Have you ran into this? 0 LVL 68 Overall: Level 68 Unix OS 53 Apache Web Server 6 PHP 4 Message Active today Expert Comment by:woolmilkporc2012-12-04 rm -f /usr/local/apache/modules/libphp5.so but It is available from Passport Advantage / DeveloperWorks (IBM ID required) here: http://www.ibm.com/developerworks/downloads/r/xlcplusaix/index.html I strongly assume that apache httpd can be built using this compiler. Also remove all that extra stuff = 2>&1 | tee libretek.log in case it is hiding useful information. However, it is also used by bash (assuming you're using bash as a shell) to tell you that the command you tried to execute couldn't be executed (i.e.

Search Forums Show Threads Show Posts Tag Search Advanced Search Unanswered Threads Find All Thanked Posts Go to Page... unix and linux operating commands Perl Module installation Shell Programming make: 1254-004 The error code from the last command is 127. And this one is nice, too - just disable the "rm" command: https://bugs.php.net/bug.php?id=43032 0 Message Author Comment by:AIX252012-12-04 Here is the error for when I run my make command. https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=323741 Login.

Finally, instead of running "make install" you could simply try cp .libs/libphp5.so /usr/local/apache/modules cp php.ini-recommended /usr/local/apache/conf/php.ini 0 Message Author Comment by:AIX252012-12-05 Ok, I will try your recommendations. If not, do they exist in /usr/linux/lib? Applies to most languages/tools that uses regular expressions. Is the make file saving the output in a log file?

Remove advertisements Sponsored Links cbkihong View Public Profile Visit cbkihong's homepage! http://stackoverflow.com/questions/1763156/127-return-code-from Within a script, an exit nnn command may be used to deliver an nnn exit status to the shell (nnn must The last command executed in the function or script determines the exit status. Something with the "static" or "shared" options?

I ran my configure, make, and make install commands and it has not install Apache. check my blog When I run my make command...I get the following error: /usr/local/php-5.4.9/ext/iconv/iconv.c: In function 'zm_startup_miconv': /usr/local/php-5.4.9/ext/iconv/iconv.c:252: error: '_libiconv_version' undeclared (first use in this function) /usr/local/php-5.4.9/ext/iconv/iconv.c:252: error: (Each undeclared identifier is reported only make: 1254-004 The error code from the last command is 1. exit

The equivalent of a bare exit is exit $? or even just omitting the exit.

#!/bin/bash COMMAND_1 . . .

Did "make" create all binaries in the build tree? Thank you. mamfelt at gmail Jun12,2012,2:04PM Post #4 of 4 (5445 views) Permalink Re: RE: httpd-2.4.2 "make install" fails on AIX 6.1 [In reply to] It may not have all the options you era View Public Profile Visit era's homepage! this content This is a very troublesome install!

Join & Ask a Question Need Help in Real-Time? Message ID: [email protected] YOu have to build extensions with the compiler used to build Perl. If there are no binaries then "make" itself must have failed.

You must definitely run "make clean", remove "config.log" and "config.status" and re-run "configure" 0 Message Author Comment by:AIX252012-12-02 server:/usr/bin> ls -l cc ls: 0653-341 The file cc does not exist.

server:/> lslpp -l |grep icon bos.iconv.com APPLIED Common Language to Language bos.iconv.ucs.com APPLIED Unicode Base You need to use the same C compiler used to compile perl on your machine. You should also apply the latest TL/SP required to bring iconv to your current AIX level. 0 Message Author Comment by:AIX252012-12-04 I have bos.rte.iconv installed already. Linked 0 $? = 127 in shell script? 2 Call a .phar executable from inside a web app controller 1 Trying to run Docker resulted in exit code 127 1 Random

Find all posts by ynilesh #3 08-04-2008 era Herder of Useless Cats (On Sabbatical) Join Date: Mar 2008 Last Activity: 28 March 2011, 6:41 AM EDT Location: libtool: link: the `-o' option requires an argument Try `libtool --help --mode=link' for more information. are quite regular macros in AIX as well as in the GNU/Linux environment. have a peek at these guys Ran into another issue though when compliing PHP..please advise.

http://mail-archives.apache.org/mod_mbox/apr-dev/201203.mbox/%[email protected].com%3E Why don't you download a precompiled binary instead? Correcting the line endings to unix format solved the problem –Mitkins Sep 30 '14 at 1:35 | show 2 more comments up vote 12 down vote Generally it means: 127 - Could anybody please help in this regards.Any help will be highly appreciated. All Rights Reserved.

If it comes up empty, next step is checking execution bit and PATH. –cr125rider Jun 12 '14 at 16:33 5 @cr125rider, which is not particularly accurate -- it doesn't know true\" = $?" # 1 # Note that the "!" needs a space between it and the command. # !true leads to a "command not found" error # # The '!'