[opensuse-packaging] query - Linking in another project.
Hello, I am trying to build the wflogs rpm and have gotten the result back It says - checking for shl_load in -ldld... no configure: error: wfnetobjs-incdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.36404 (%build) References: project -> https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl spec file -> https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl logs -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_Factory I know I need to include or depend on Package wfnetobjs. It is located in another persons project -> https://build.opensuse.org/package/show?package=wfnetobjs&project=home%3Aelvigia Ouestions. ========= 1. How do I link in wfnetobjs to my wflogs project so it can compile. 2. There are possible parameters I can use Parameter switches e.g --with-wfnetobjs-incdir --with-wfnetobjs-library --with-wfnetobjs-libdir An example I have seen in the past is ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/ 3. Where in the spec file does the line go, if so which section ? Any help appreciated Cheers Glenn. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, I found out how to create the link - click the '[Link Package from other Project]' item - Fill in value for 'Name of original project:' -> home:elvigia - Fill in value for 'Name of package in original project:' -> wfnetobjs - Leave last box <blank> Clicked Create link. That created the reference link for me. Next the configure bit, an example I have seen in the past is ./configure --with-wfnetobjs-libdir=/usr/include/wallfire/ How do I specify the ./configure --with-wfnetobjs-libdir=/dir1/dir2 where /dir1/dir2 is a link to someone else's package in this case wfnetobjs? - Is it syntactically correct to have a line in the .spec file that reads: 'Requires: wfnetobjs' or, should that be 'BuildRequires: wfnetobjs' 3. Where in the spec file does the line './configure --with-wfnetobjs-libdir=/dir1/dir2' go ? , if so which section ? Other info from the log: checking for shl_load in -ldld... no configure: error: wfnetobjs-incdir: no directory found, use configure option error: Bad exit status from /var/tmp/rpm-tmp.36404 (%build) References: project -> https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl spec file -> https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl logs -> https://build.opensuse.org/package/live_build_log?arch=x86_64&package=wflogs&project=home%3Adoiggl&repository=openSUSE_Factory Cheers Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* doiggl@velocitynet.com.au (doiggl@velocitynet.com.au) [20090825 08:43]:
1. How do I link in wfnetobjs to my wflogs project so it can compile.
Build against the repository of wflogs, i.e go into the web page for your package, choose [Add Repository]->Advanced] and then select something like home:sample:project/openSUSE_Factory instead of plain openSUSE:Factory. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Tue, 25 Aug 2009 17:17:01 +0200, Philipp Thomas <pth@suse.de> wrote:
1. How do I link in wfnetobjs to my wflogs project so it can compile.
Build against the repository of wflogs, i.e go into the web page for your package, choose [Add Repository]->Advanced] and then select something like home:sample:project/openSUSE_Factory instead of plain openSUSE:Factory.
Philipp
Hello, I choose [Home Project ] [Add Repository]->Advanced] I scrolled down to home: , but I could not find anything on the drop down list with sample:project/openSUSE_Factory description. The i586 and x86_64 Architectures: are ticked. I cant see 'home:sample:project/openSUSE_Factory' at all. What am I missing here ? Any thoughts Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Wed, 26 Aug 2009, doiggl@velocitynet.com.au wrote:
On Tue, 25 Aug 2009 17:17:01 +0200, Philipp Thomas <pth@suse.de> wrote:
1. How do I link in wfnetobjs to my wflogs project so it can compile.
Build against the repository of wflogs, i.e go into the web page for your package, choose [Add Repository]->Advanced] and then select something like home:sample:project/openSUSE_Factory instead of plain openSUSE:Factory.
Philipp
Hello, I choose [Home Project ] [Add Repository]->Advanced]
I scrolled down to home: , but I could not find anything on the drop down list with sample:project/openSUSE_Factory description. The i586 and x86_64 Architectures: are ticked.
I cant see 'home:sample:project/openSUSE_Factory' at all. What am I missing here ?
That 'home:sample:/project' is just an example. You need to choose the repository where the package live that you need. Here that should be home:elvigia/openSUSE_Factory, as wflogs is in 'home:elvigia'. Could it be that you need more sleep? *scnr* HTH, -dnh -- Information moves, or we move to it. Moving to it has rarely been popular and is growing unfashionable; nowadays we demand that the information come to us. -- Neal Stephenson -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Thanks, now I have a linkto home:elvigia/openSUSE_Factory in my nome project. I see the files have been created e.g Rebuild openSUSE_Factory Rebuild x86_64 succeeded [Build Log] libwfnetobjs-devel-0.2.4-5.1.x86_64.rpm libwfnetobjs0-0.2.4-5.1.x86_64.rpm wfnetobjs-0.2.4-5.1.src.rpm Rebuild i586 succeeded [Build Log] libwfnetobjs-devel-0.2.4-5.1.i586.rpm libwfnetobjs0-0.2.4-5.1.i586.rpm wfnetobjs-0.2.4-5.1.src.rpm Next is to install, for example libwfnetobjs0-0.2.4-5.1 rpm on the x86_64 or i586 platform. Can that be done in the .spec file, if so what should the line look like and under what section should that go in. specfile -> https://build.opensuse.org/package/view_file?file=wflogs.spec&package=wflogs&project=home%3Adoiggl Thanks Glenn -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* doiggl@velocitynet.com.au (doiggl@velocitynet.com.au) [20090827 07:57]:
Next is to install, for example libwfnetobjs0-0.2.4-5.1 rpm on the x86_64 or i586 platform.
The normal way is that users search for a given package in http://softwarte.opensuse.org/search for any package that's displayed you get the choice of either downloading the package or directly installing it and the packages it needs by using the "1-Click install" button. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On Thu, 27 Aug 2009 13:24:57 +0200, Philipp Thomas <pth@suse.de> wrote:
The normal way is that users search for a given package in http://softwarte.opensuse.org/search for any package that's displayed you get the choice of either downloading the package or directly installing
it
and the packages it needs by using the "1-Click install" button.
Philipp
I made an error earlier, Yes you are correct, but is it possible to install the rpm for example libwfnetobjs0-0.2.4-5.1 rpm on the x86_64 or i586 platform in the 'Opensuse Build Service' so when the wflogs tries to compile it find the related libwfnetobjs modules. Is that possible, if so how ? Cheers Glenn wflogs ->https://build.opensuse.org/package/show?package=wflogs&project=home%3Adoiggl -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
Hello, On Fri, 28 Aug 2009, doiggl@velocitynet.com.au wrote:
On Thu, 27 Aug 2009 13:24:57 +0200, Philipp Thomas <pth@suse.de> wrote:
The normal way is that users search for a given package in http://softwarte.opensuse.org/search for any package that's displayed you get the choice of either downloading the package or directly installing
it
and the packages it needs by using the "1-Click install" button.
Philipp
I made an error earlier, Yes you are correct, but is it possible to install the rpm for example libwfnetobjs0-0.2.4-5.1 rpm on the x86_64 or i586 platform in the 'Opensuse Build Service' so when the wflogs tries to compile it find the related libwfnetobjs modules.
Is that possible, if so how ?
Just do as you were already told! add repository -> Advanced -> name(e.g.): home_elvigia_Factory repo: home:elvigia/openSUSE_Factory and remove / disable the normal Factory repo. Then, just look and watch the magic ... -dnh -- "Y2KY - for when you want to put four digits where two fit before." -- Alan Bellingham -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
* David Haller (dnh@opensuse.org) [20090829 08:51]:
Is that possible, if so how ?
If you build against the project that contains the needed package, installing your package will automatically pull in the needed packages from other projects. Philipp -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
On 29/08/09 02:49, David Haller wrote:
Then, just look and watch the magic ...
yeah, and drop me a note in case the package stinks, I have never tested or used it. -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org
participants (4)
-
Cristian Rodríguez
-
David Haller
-
doiggl@velocitynet.com.au
-
Philipp Thomas