LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Reply
 
Search this Thread
Old 03-20-2005, 01:14 PM   #1
LampMan
LQ Newbie
 
Registered: Jul 2004
Location: Plymouth, UK
Distribution: FC3, Slack 10 and Gentoo
Posts: 12

Rep: Reputation: 0
anaconda build from src rpm fails


Using Fedora Core 3, I have tried to rebuild the unmodified FC3 anaconda source rpm (anaconda-10.1.0.2.src.rpm) so that I can make a custom installer. I have installed the dependencies, but the package still refuses to build. Here is the last few lines of the build:

Code:
diet gcc -g -static -o loader loader.o log.o moduleinfo.o loadermisc.o modules.o moduledeps.o windows.o lang.o kbd.o modstubs.o driverdisk.o selinux.o md5.o mediacheck.o kickstart.o driverselect.o getparts.o dirbrowser.o pcmcia.o usb.o firewire.o hardware.o method.o cdinstall.o hdinstall.o nfsinstall.o urlinstall.o dietstubs.o ctype.o net.o urls.o ftp.o telnet.o telnetd.o -lpopt     \
-lkudzu_loader   -lpci_loader ../isys/libisys-diet.a -lrpc ../isys/gzlib/libgunzip-diet.a \
-lpump -lresolv -lnewt -lslang -lbtermdiet -lbogldiet  -lwlitediet
/usr/bin/ld: cannot find -lbtermdiet
collect2: ld returned 1 exit status
make[1]: *** [loader] Error 1
make[1]: Leaving directory `/usr/local/rebuild/3/rpm/SOURCES/anaconda-10.1.0.2/loader2'
make: *** [subdirs] Error 1
I am building as me, not root, and I have read and write access to /usr/local/rebuild.

What should I do to get it to build a binary rpm?

Thanks in advance.
 
Old 03-20-2005, 04:14 PM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
And do these errors come up when you are logged in as root ?
 
Old 03-21-2005, 10:47 AM   #3
LampMan
LQ Newbie
 
Registered: Jul 2004
Location: Plymouth, UK
Distribution: FC3, Slack 10 and Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
Yes, the errors are exactly the same for root.

I have also tried using another src rpm, the RHEL 4 one, and that fails in much the same way.

Thanks again
 
Old 03-28-2005, 02:55 AM   #4
LampMan
LQ Newbie
 
Registered: Jul 2004
Location: Plymouth, UK
Distribution: FC3, Slack 10 and Gentoo
Posts: 12

Original Poster
Rep: Reputation: 0
I fixed it - I did a new FC3 install on another box, hunted down the dependencies for anaconda, and then it built successfully.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandrake 10.0 Nforce 2 src.rpm build failure iihay Mandriva 7 07-19-2004 07:08 PM
rebuilding cyrus-sasl src.rpm w/mysql support fails willwrk4u Red Hat 1 04-17-2004 02:34 PM
how do I compile or build a src.rpm driver? Falafel Linux - Software 1 11-19-2003 06:40 AM
How to build src.rpm on RH9 xprometeus Linux - Distributions 3 07-20-2003 08:04 AM
RedHat and src.rpm build of MySQL wdingus Linux - Software 3 04-15-2003 05:23 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration