Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install Problems

Status
Not open for further replies.

jmiked

Technical User
Feb 18, 2007
7
0
0
US
I am trying to install qmail on RHEL ES 4. When I attempt to run

rpmbuild --rebuild qmail-1.03+patches-19.src.rpm

I get

./compile: line 3: exec: cc: not found

error Bad exit status from /var/tmp/rpm-tmp.3506 (%build)

I am new enough to Linux that I can not tell whether I have a qmail problem or a Linux problem.

Also I can not find the -18 src.rpm to try that so I can determine which it is.

Help Please
 
You don't have the c/c++ compiler installed to support what you're doing...

try to install with dependencies package names like:

libstdc++
libstdc++-devel
gcc-c++
make


The dependencies that those bring along should get your RH platform ready to compile. Good luck!


D.E.R. Management - IT Project Management Consulting
 
Thanks for the halp theDaver.Got the package using up2date on gcc-c++.

Now when I attempt to run the --rebuild I get:

auto-str.c:9:warning:conflicting types for built-in function 'puts'

auto-str.c: In function 'main'

auto-str.c:17:warning return type of 'main' is not 'int'

./load auto-str substdio.a error.a str.a

substdio.a(substdo.0)(.text+0x43): in function 'allwrite'

:undefined reference to 'errno'

collect2: ld returned 1 exit status

Make: ***[auto-str] error 1

Error: Bad exit status from /var/tmp/rpm-tmp.23878 (%build)

Pretty much over my head!
 
Not sure how to check for that. I did download everything mentiond in Dave Sill's 2002 book but, that might be post-publication.

It was the newest how-to I could find. If there is a newer I would love to hear about it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top