LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-15-2009, 08:02 AM   #1
madhava_kulkarni1986
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Rep: Reputation: 0
error in compilation of berkeley DB


hi all,
i am installing Berkeley Db using the HLFS book. I get the following error when i run make:

creating db_archive
/bin/sh ./libtool --mode=execute true db_archive
make: *** [db_archive] Segmentation fault
make: *** Deleting file `db_archive'

i scanned through the ./libtool file to find "--mode=execute true" but dint get the clear picture.

Can anyone please help me solve this ? and also explain the libtool command line options [ execute and true ]

The following is the details:

processor : AMD64
db version : db-4.5.20 [ even tried 4.4.20 and 4.6.18 ]
configured as : ../dist/configure --prefix=/usr --enable-compat185
--enable-cxx

let me know if more details are needed
--
Thank you
 
Old 04-15-2009, 01:41 PM   #2
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
You should review the logs and they will point you to what is missing, I'm sure you don't have everything installed that needs to be in respect to devel or lib packages.
 
Old 04-15-2009, 01:50 PM   #3
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
It would probably help if we knew your distro, version, and arch.
 
Old 04-16-2009, 12:23 AM   #4
madhava_kulkarni1986
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Original Poster
Rep: Reputation: 0
Question

Thanks for the replies..

@lazlow
Here are the details:

arch : amd athlon 64 bit
distro : general linux (compiled using HLFS book)
linux kernel version : 2.6.24.7

@kentyler:

I have installed linux from scratch and now installing the required application package. So i hope i have installed all the required packages. As given in LFS book there are optional dependencies for DB (tcl and JDK) which i ahve installed. The error says seg fault and nothing more in the log.
 
Old 04-16-2009, 12:33 AM   #5
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Did you compile it 32bit or 64bit (you can do either with your hardware)?
 
Old 04-16-2009, 08:50 AM   #6
kentyler
Member
 
Registered: Dec 2008
Location: Newark Ohio
Distribution: Fedora Core
Posts: 270

Rep: Reputation: 38
there should be a config.log created in that directory which will have the details prior to the segmentation fault.
 
Old 04-17-2009, 12:54 AM   #7
madhava_kulkarni1986
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Original Poster
Rep: Reputation: 0
@lazlow:

i have done it for 64-bit(using --disable-multilib)

Thank you
 
Old 04-17-2009, 01:04 AM   #8
madhava_kulkarni1986
LQ Newbie
 
Registered: Dec 2008
Posts: 11

Original Poster
Rep: Reputation: 0
@kentyler:

i hope config.log contains the details of the configuration for which the package is being installed, such as cache variables, output variables blha blha. So there is no means to get the details of compilation in config.log. If i am wrong please do correct me.

Thank you
 
  


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
Inkscape compilation error: *** [extension/internal/pdfinput/pdf-parser.o] Error 1 w1k0 Slackware 12 10-25-2008 09:53 AM
compilation error : /tmp/cczC6Kc3.s:7368: Error: unknown pseudo-op: `.ltorg' nankie Red Hat 0 08-19-2008 10:15 AM
compilation error + Berkeley DB kshkid Programming 5 03-01-2007 08:57 AM
berkeley db installation error message on Suse 10 gilbertt Linux - Software 3 06-21-2006 03:44 PM
./configure and Berkeley DB error jCarlson917 Linux - Software 2 01-28-2006 12:29 AM

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

All times are GMT -5. The time now is 05:35 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