LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Amigo
User Name
Password
Amigo This forum is for the discussion of Amigo Linux.

Notices

Reply
 
Search this Thread
Old 02-10-2008, 11:41 AM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,008

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Build Fails - Arguments?


I've tried building lifelines-3.0.62.tar.bz2 with src2pkg version-1.9.4 with this command:
Code:
src2pkg -p=/usr/local -C lifelines-3.0.62.tar.bz2
It consistently fails with
Code:
src2pkg -p=/usr/local -C lifelines-3.0.62.tar.bz2
Found source archive: lifelines-3.0.62.tar.bz2
Creating working directories:
   PKG_DIR=/tmp/lifelines-3.0.62-pkg-1
   SRC_DIR=/tmp/lifelines-3.0.62-src-1
Unpacking source archive - Done
Correcting source permissions - Done
Checking for patches - Found
   Applying: vpnclient-linux-2.6.22.diff
Found configure script - Configuring sources using:
   CFLAGS=-O2 -march=i486 -mtune=i686 ./configure --prefix=/usr/local
Configuration has been - Successful!
Compiling sources - Using: 'make'
Compiling has been - Successful!
Installing in jail root - Using: 'make install'
FATAL! Running '' has failed with error: 1
Try using INSTALL_LINE 'make -i install'  Exiting...
src2pkg FAILURE in make_install
(It does the vpnclient patch because the file is sitting in /usr/local/src where I keep non-distribution source files; no big deal.) I've tried different argument combinations with no luck.

I can configure and make LifeLines with no problems or error messages manually and I really can't seem to figure out what I need to do to get this working properly.

Any hints?

Thanks.
 
Old 02-10-2008, 01:04 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,750

Rep: Reputation: 462Reputation: 462Reputation: 462Reputation: 462Reputation: 462
First, update to the latest src2pkg-1.9.5 from here:
http://distro.ibiblio.org/pub/linux/...nload/src2pkg/

Then, if you are still having problems with the lifelines build, try using the -DESTDIR option:
src2pkg -p=/usr/local -C -DESTDIR lifelines-3.0.62.tar.bz2

I would recommend you to place each tarball in its' own directory -this will help ensure good builds and is a good pratice anyway. I also recommend avoiding using /usr/local as your prefix for packaged software. Some of the src2pkg functions which
help make sure your packages are complete and correct are disabled when you use -p=/usr/local

P.S. - I just downloaded the sources and it compiled just fine using the default -JAIL installation method. There were some problems with 'make install' in the last couple of versions of src2pkg -seem to be all worked out now.
This should work fine:
src2pkg -C lifelines-3.0.62.tar.bz2
 
Old 02-10-2008, 01:32 PM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,008

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Ah! The new version works, thank you.

I built LifeLines with
Code:
src2pkg -D -DEST -p=/usr/local -C lifelines-3.0.62.tar.bz2
and all is well with the world.

My standards are that non-distribution software be installed in /usr/local; "packaged" software; e.g., OpenOffice, Scribus and the like I install in /opt. Been doing things that way for... cripes! decades, already. Lordy, time do fly when you're having fun, eh? I've tried to follow what I think of as the Bell Labs, System V, Solaris model by doing that and, so far, it's been less a pain than installing add-ons in /usr (at least for me). For a long time the checkinstall utility did a nice job, but, well, that's the end of that apparently; scr2pkg seems the next step in the evolutionary trail (and, now that it works, a step in the right direction, methinks).

Thank you for both the development effort and for the help.
 
  


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
glibc fails to build pauledwards03 Linux - Software 5 10-31-2007 11:16 PM
RPM build fails Musikolo Linux - Software 8 06-13-2007 11:55 AM
klibido fails to build hedpe Linux - Software 0 06-14-2006 10:27 AM
'make' fails while trying to build jonnycarlos Linux - Software 0 04-29-2004 09:14 PM
postgresql build fails j-ray Linux - Software 3 09-06-2002 07:37 AM


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