LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 03-03-2013, 01:47 PM   #1
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,119

Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
src2pkg and OpenSRF


Trying to build OpenSRF with src2pkg.

Configure is supposed to be
Code:
./configure --prefix=/openils --sysconfdir=/openils/conf
However, I don't want it in the root, I want it in /usr/local so I did this:
Code:
src2pkg -A -C -CWD \
-p='/usr/local/openils' \
-e='--sysconfdir=/usr/local/openils/conf --libdir=/usr/local/lib64' \
opensrf-2.1.2.tar.gz
The bin directory gets created in /usr/local/openils/bin, the libraries go into /usr/local/lib64, but /usr/local/openils/conf does not get created.

Did I miss (or miss configure) something?

Thanks.
 
Old 03-04-2013, 12:49 AM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
Does /openils/conf get created when you configure with: --sysconfdir=/openils/conf
 
Old 03-04-2013, 09:05 AM   #3
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,119

Original Poster
Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Quote:
Originally Posted by gnashley View Post
Does /openils/conf get created when you configure with: --sysconfdir=/openils/conf
Well, no -- generating and looking through the Makefile, it's defined but appears to never be used.

Nuts.

Thanks.
 
Old 03-04-2013, 10:51 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
If a normal make install doesn't create it then it is probably not used. Did you follow some build script/spec to see the --sysconfdir option being used?
 
Old 03-04-2013, 11:15 AM   #5
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,119

Original Poster
Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Yeah, it's used later (haven't gotten that far yet) and I just created the thing manually in any event just in case. I just initially thought I wasn't using src2pkg properly.

I'm going to mark this one solved, thanks.
 
Old 03-05-2013, 01:10 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,775

Rep: Reputation: 481Reputation: 481Reputation: 481Reputation: 481Reputation: 481
If you are using a opensrf.src2pkg script for the build? If so, simply place a line in there which creates the dir.
Code:
fake_install

mkdir -p $PKG_DIR/openils/conf

fix_pkg_perms
 
Old 03-05-2013, 06:43 AM   #7
tronayne
Senior Member
 
Registered: Oct 2003
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,119

Original Poster
Rep: Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818Reputation: 818
Who'd-'a'-thunk it?

This one goes in my Important Notes on Stuff file -- thanks!
 
  


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
[SOLVED] [src2pkg] how can one add a tag to src2pkg pkg name - like slackbuilds do (Sbo) harryhaller Slackware 5 02-13-2013 10:55 AM
[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 gnashley Slackware 11 12-21-2009 12:41 PM
src2pkg macondo Slackware 11 01-07-2009 01:20 AM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 12:09 PM
src2pkg + qt 4.3.3 dive Slackware 9 01-24-2008 03:12 AM


All times are GMT -5. The time now is 06:13 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration