LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-25-2003, 01:44 AM   #1
Daddio
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 9.0 Prof.
Posts: 6

Rep: Reputation: 0
gcc exit status 1


I'm trying to install an application. In the readme file it states to run

./configure
./make

then

python setup.py build
python setup.py install


I get stuck at build with the following error:

error: command 'gcc' failed with exit status 1

I've looked at the man & info pages for gcc, and after having scanned through over 9,000 lines in each, I found no reference to exit status codes.

I do have the python-devel package installed for my distro.

Why the hang-up???

Bernd
 
Old 10-25-2003, 10:13 AM   #2
Kurt M. Weber
Member
 
Registered: Oct 2003
Distribution: Slackware
Posts: 335

Rep: Reputation: 36
What does it say BEFORE that? Does it have any problems compiling any of the source files?
 
Old 10-25-2003, 02:18 PM   #3
DurantDL
Member
 
Registered: Oct 2003
Location: Virginia, USA
Posts: 31

Rep: Reputation: 15
Re: gcc exit status 1

Unless you saw warnings from running "configure" or "make",
there is something wrong within the "setup.py" python script.

FYI, exit status codes indicate whether programs ran successfully.
Normal exit status == 0, so "1" may indicate a warning or failure.
Shell scripts (for "/bin/bash") check the "$?" exit status variable.
 
Old 10-25-2003, 03:38 PM   #4
Daddio
LQ Newbie
 
Registered: Oct 2003
Distribution: SuSE 9.0 Prof.
Posts: 6

Original Poster
Rep: Reputation: 0
Here's the part of the output that shows problems:

/usr/lib/gcc-lib/i486-suse-linux/3.2/../../../../i486-suse-linux/bin/ld: cannot find -lImaging
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1

I didn't see this yesterday. It looks like 'ld' is returning the error?!? I've not used ld before, so I'm not sure what to look for.

I extracted the tar, configured, and am executing python from a temp directory, and as root. There are no instructions in the readme or install files that state that I should install from a certain directory, other that the extracted ones.

Thanks,

Bernd
 
Old 10-25-2003, 05:37 PM   #5
DurantDL
Member
 
Registered: Oct 2003
Location: Virginia, USA
Posts: 31

Rep: Reputation: 15
"gcc" is a compiler, and "ld" is the linkage loader;
The executable being built needs a library called "Imaging".
Perhaps you can find "libImaging.a" or "libImaging.so".
You may be missing some prerequisite library module.

Btw, "ld" gets control to dynamically locate shared libraries,
especially the system (kernel) libraries, from most executables.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
> Ftp With Exit Status, Ftp with exit status vwvr9 Linux - General 4 02-23-2005 02:53 AM
exit status naflan Programming 2 10-22-2004 12:22 PM
exit status 17 kppp joshy Mandriva 3 10-08-2004 07:07 AM
error exit status 30 debian_dummy Debian 2 09-21-2004 10:26 PM
pppd exit status 1 wolfe2554 Linux - Networking 2 04-14-2004 12:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration