|
From: Hans F. <han...@er...> - 2013-12-05 09:10:59
|
Maybe a stupid suggestion, instead of $PWD just set some absolute path I vaguely remember that I had used this config opt and that it worked /Hans On 12/03/2013 09:27 PM, William R Elliott wrote: > Hi, > Just wondering if anyone had any ideas or suggestions concerning this rpm build issue? > > thanks > > William Elliott | Sr. Analyst, Forward R&D | Office: +1 (800) 519-8360 Ext. 3859 | Mobile: +1 (407) 619-0337 |--www.NetCracker.com-- > Proven Partner to Communications Service Providers > > From: William R Elliott > Sent: Wednesday, November 20, 2013 11:53 AM > To: 'ope...@li...' > Subject: rpm issue > > I have a requirement to make the opensaf rpm packages relocatable so I can install opensaf in to an operator's specified target directory. I have been successful making the '/usr/...' directories install in to a target directory by using the '--prefix=...' option on the configure command line, modify the opensaf.spec file, and do a make rpm. I need to also install the files in '/etc/opensaf/...', and '/var/.../opensaf/...' in that same target directory as '/usr'. According to the help from configure, I can specify alternative directory paths by using options such as '--sysconfdir=...' (redirect the /etc/opensaf directory location), '--localstatedir=...' (redirect /var/... directory location). However, when I try the following configure command to redirect the '/etc/opensaf' directory: > ./configure --sysconfdir=$PWD/etc > Configure completes successfully, but the make rpm fails with errors like: > error: File not found: /william/opensaf-4.3.0/rpms/tmp/opensaf-4.3.0-1-root-william/etc/opensaf/slot_id > > What configure options and suggested values do I need to use so the make rpm does not fail in order to accomplish what I'm trying to do? > > Thanks > > > William Elliott | Sr. Analyst, Forward R&D | Office: +1 (800) 519-8360 Ext. 3859 | Mobile: +1 (407) 619-0337 |--www.NetCracker.com-- > Proven Partner to Communications Service Providers > > > > > ________________________________ > The information transmitted herein is intended only for the person or entity to which it is addressed and may contain confidential, proprietary and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > Opensaf-users mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/opensaf-users > > |