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

The Error Code From The Last Command Is 127

In it, you'll get: The week's top questions and answers Important community announcements Questions that need answers see an example newsletter By subscribing, you agree to the privacy policy and terms I have to install the DBI module but when installing I get this error when it's about to compile a C file : cc -c -D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384 -qnoansialias -DUSE_NATIVE_DLOPEN Applies to most languages/tools that uses regular expressions. Ran into another issue though when compliing PHP..please advise. have a peek at these guys

You may > need to re-run the configure script so the GNU install program gets picked > out then.**** > > ** ** > > Yours,**** > > ** ** > Did "make" create all binaries in the build tree? by Putrino Nunzio ABRAXAS INFORMATIK AG Re: make: 1254-004 The error code from the last command is 127. Short, you should get yourself the free 60-day trial of Visual Age C (vaC/xlC), the "official" AIX C compiler.

Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Thank you. Brian.Gaber at tpsgc-pwgsc Jun5,2012,9:26AM Post #3 of 4 (5495 views) Permalink RE: httpd-2.4.2 "make install" fails on AIX 6.1 [In reply to] This suggestion worked. Can you please verify the below ouput? Suggested Solutions Title # Comments Views Activity duplicate data not insert in mysql 46 34 26d Validate against carriage returns in a textarea 22 20 25d Connect to MS-SQL server from

make install fails with this error: Making install in modules Making install in aaa rm -f /usr/local/apache2/modules/mod_authn_file.so /usr/local/apr-httpd//build-1/libtool --silent --mode=install install mod_authn_file.la /usr/local/apache2/modules/ find: bad status-- /usr/local/apache2/modules/mod_authn_file.so install: File mod_authn_file.so was Stop. This appears to be a problem with the make file and not AIX. make: 1254-004 The error code from the last command is 1.

There may be a debug mode to make to help you work out where the problem is happening. Move the native library/header file back to their original locations afterwards, just in case ... 0 Message Author Comment by:AIX252012-12-04 Ok, that worked! I had previously exported cc to link to my C compiler path : export cc=/usr/vac/bin/xlc_r (I am on a Aix system) Even with that, it doesn't find cc. https://www.ibm.com/developerworks/community/forums/thread.jspa?threadID=323741 Stop.

share|improve this answer edited Aug 25 at 9:56 answered Jul 23 '13 at 21:34 okigan 63611025 add a comment| up vote 6 down vote It has no special meaning, other than Message ID: [email protected] YOu have to build extensions with the compiler used to build Perl. The general recommendation is "--disable static --enable-shared" You should always try gmake, regardless of the compiler used. The reason I'm compiling my own version is so that I can than have the capability to compile a mssql php module.

more hot questions question feed about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation Science http://stackoverflow.com/questions/1763156/127-return-code-from If yes, how can I avoid this problem, so that when my trial is up, I can continue to upgrade the filesets up without any issues? 0 LVL 68 Overall: Login. An exit status of zero indicates success.

make: 1254-004 The error code from the last command is 127. More about the author Much better to use type, a shell builtin which knows about all of those things. –Charles Duffy Sep 11 '14 at 22:45 I didn't know about type, thanks –cr125rider But, if I never run "make install" nothing will get installed in the prefix php directory setup in my "configure" command...correct? 0 LVL 68 Overall: Level 68 Unix OS 53 I will provide an update. 0 Featured Post How your wiki can always stay up-to-date Promoted by Quip, Inc Quip doubles as a “living” wiki and a project management tool that

Stop. Within a script, an exit nnn command may be used to deliver an nnn exit status to the shell (nnn must Negating a condition using !

true # The "true" builtin. check my blog COMMAND_LAST # Will exit with status of last command.

echo exit 113 # Will return 113 to shell. # To verify this, type "echo $?" after script terminates. # By convention, an 'exit 0' indicates success, #+ while a non-zero In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the

lskdf # Unrecognized command.

Is "cc_r" on your PATH? Will it upgrade the above filesets that are preprocessor and the runtime libraries, stuff which comes with the OS? Join them; it only takes a minute: Sign up 127 Return code from $? Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We

In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. It's unfortunately not immediately deducible though, if the process exited with status 127, or if it couldn't found. Is the Rice Theorem applicable for these problems? news process unix share|improve this question asked Nov 19 '09 at 13:05 Sachin Chourasiya 4,897196487 add a comment| 5 Answers 5 active oldest votes up vote 168 down vote accepted Value 127

The problem went away for me when I set up my execution path so that the 'which install' command found the GNU CoreUtils install program in /opt/freeware/bin (I think) instead of Now there is no glibc for AIX, and instead of searching the macros in the AIX libc the gcc compiler seems to go wrong here by trying to find them in Is e.g. "httpd" present? 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.

The last command executed in the function or script determines the exit status.