Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
08-26-2005, 03:46 AM
#1
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Rep:
regarding building RPM
Dear All
I want to build the rpm file for Sendmail-8.13.4.1 version. It is for redhat 9.0.
I download the src successfully. I can see the spec file in the SPECS folder.
When i try to build, it give the error as follows. It did not mention the dependency.
[root@localhost SPECS]# rpmbuild -bb sendmail.spec
error: Failed build dependencies:
setup >= 2.5.31-1 is needed by sendmail-8.13.4-1
[root@localhost SPECS]#
Kindly help me
08-26-2005, 04:41 AM
#2
Senior Member
Registered: Jul 2004
Location: Lower Rhine region, Germany
Distribution: Slackware64 14.2 and current, SlackwareARM current
Posts: 1,646
Rep:
http://rpm.pbone.net/index.php3/stat....html#requires
It seems you have got the right information, "setup" needs to be version 2.5.31-1.
08-29-2005, 08:42 AM
#3
Member
Registered: Nov 2004
Location: Mumbai
Posts: 80
Original Poster
Rep:
Thanks
I tried with setup-2.5.31-1. I can execute the spec file. But i got some other error.
When i try to build the sendmail RPM file, it gives the following status.
[root@localhost SPECS]# rpmbuild -ba sendmail.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29891
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf sendmail-8.13.4
+ /usr/bin/gzip -dc /usr/src/redhat/SOURCES/sendmail.8.13.4.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd sendmail-8.13.4
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #3 (sendmail-8.12.2-makemapman.patch):'
Patch #3 (sendmail-8.12.2-makemapman.patch):
+ patch -p1 -b --suffix .makemapman -s
+ echo 'Patch #4 (sendmail-8.13.4-smrsh-paths.patch):'
Patch #4 (sendmail-8.13.4-smrsh-paths.patch):
+ patch -p1 -b --suffix .smrsh_paths -s
+ echo 'Patch #5 (sendmail-8.12.2-movefiles.patch):'
Patch #5 (sendmail-8.12.2-movefiles.patch):
+ patch -p1 -b --suffix .movefiles -s
+ echo 'Patch #7 (sendmail-8.13.0-pid.patch):'
Patch #7 (sendmail-8.13.0-pid.patch):
+ patch -p1 -b --suffix .pid -s
+ echo 'Patch #9 (sendmail-8.12.7-hesiod.patch):'
Patch #9 (sendmail-8.12.7-hesiod.patch):
+ patch -p1 -b --suffix .hesiod -s
+ echo 'Patch #10 (sendmail-8.12.7-manpage.patch):'
Patch #10 (sendmail-8.12.7-manpage.patch):
+ patch -p1 -b --suffix .manpage -s
+ echo 'Patch #11 (sendmail-8.13.4-dynamic.patch):'
Patch #11 (sendmail-8.13.4-dynamic.patch):
+ patch -p1 -b --suffix .dynamic -s
+ echo 'Patch #12 (sendmail-8.13.0-cyrus.patch):'
Patch #12 (sendmail-8.13.0-cyrus.patch):
+ patch -p1 -b --suffix .cyrus -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.29891
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd sendmail-8.13.4
+ LANG=C
+ export LANG
+ cat
+ cat
+ cat
+ cat
+ cat
+ cat
+ DIRS=libsmutil sendmail mailstats rmail praliases smrsh makemap
+ DIRS=libmilter libsmutil sendmail mailstats rmail praliases smrsh makemap
+ pushd libmilter
/usr/src/redhat/BUILD/sendmail-8.13.4/libmilter /usr/src/redhat/BUILD/sendmail-8
.13.4
+ sh Build -f ../redhat.config.m4
Configuration: pfx=, os=Linux, rel=2.4.20-8, rbase=2, rroot=2.4, arch=i686, sfx=
, variant=optimized
Using M4=/usr/bin/m4
Creating /usr/src/redhat/BUILD/sendmail-8.13.4/obj.Linux.2.4.20-8.i686/libmilter
using /usr/src/redhat/BUILD/sendmail-8.13.4/devtools/OS/Linux
Including ../redhat.config.m4
Making dependencies in /usr/src/redhat/BUILD/sendmail-8.13.4/obj.Linux.2.4.20-8.
i686/libmilter
ln -f -s ../../libsm/errstring.c .
ln -f -s ../../libsm/strl.c .
rm -f sm_os.h
ln -f -s ../../include/sm/os/sm_os_linux.h sm_os.h
cc -M -I. -I../../sendmail -I../../include -I/usr/include/db4 -I/usr/kerberos
/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -DNETINET6 -DHES_GETMAILHOST -DUSE_VENDO
R_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAMESERVERS -D_FFR_SMTP_SSL -DSASL=2 -D_FFR
_UNSAFE_SASL -DSM_CONF_LDAP_MEMFREE=1 -DNOT_SENDMAIL -Dsm_snprintf=snprintf -D_F
FR_MILTER_ROOT_UNSAFE -D_REENTRANT main.c engine.c listener.c handler.c comm.c s
mfi.c signal.c sm_gethost.c errstring.c strl.c >> Makefile
Making in /usr/src/redhat/BUILD/sendmail-8.13.4/obj.Linux.2.4.20-8.i686/libmilte
r
cc -O2 -g -pipe -march=i386 -mcpu=i686 -fpie -I. -I../../sendmail -I../../incl
ude -I/usr/include/db4 -I/usr/kerberos/include -Wall -DXDEBUG=0 -DTCPWRAPPERS -
DNETINET6 -DHES_GETMAILHOST -DUSE_VENDOR_CF_PATH=1 -D_FFR_WORKAROUND_BROKEN_NAME
SERVERS -D_FFR_SMTP_SSL -DSASL=2 -D_FFR_UNSAFE_SASL -DSM_CONF_LDAP_MEMFREE=1 -DN
OT_SENDMAIL -Dsm_snprintf=snprintf -D_FFR_MILTER_ROOT_UNSAFE -D_REENTRANT -DXP_M
T -c -o main.o main.c
cc1: unrecognized option `-fpie'
make: *** [main.o] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.29891 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.29891 (%build)
[root@localhost SPECS]#
What could be "fpie" how can i troubleshoot that.
Kindly help me
All times are GMT -5. The time now is 12:40 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News