LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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,541

Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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-03-2013, 11:49 PM   #2
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
Does /openils/conf get created when you configure with: --sysconfdir=/openils/conf
 
Old 03-04-2013, 08: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,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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, 09:51 AM   #4
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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, 10: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,541

Original Poster
Rep: Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065Reputation: 1065
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, 12:10 AM   #6
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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, 05: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,541

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

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


Reply



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 09:55 AM
[ANNOUNCE] src2pkg-2.0 and src2pkg-ng-0.0.1 gnashley Slackware 11 12-21-2009 11:41 AM
src2pkg macondo Slackware 11 01-07-2009 12:20 AM
New src2pkg release available for download -Introducing the src2pkg WIKI gnashley Slackware 11 05-06-2008 11:09 AM
src2pkg + qt 4.3.3 dive Slackware 9 01-24-2008 02:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:08 AM.

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