* [gentoo-devhelp] ebuild environment
@ 2009-08-11 20:42 Thomas Kahle
2009-08-11 20:48 ` [gentoo-devhelp] " Nikos Chantziaras
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kahle @ 2009-08-11 20:42 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 935 bytes --]
Hi,
I'm having some autotools trouble. In an ebuild I use sed to modify
configure.ac with something like
sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
make configure is run by the ebuild after this! If I run configure
outside the portage environment this test succeeds with "-lgf2x -lntl"
and everything is fine. However, if run from portage the test fails. Now
I wonder if I have to do something special. I even used grep and emerge
--debug to confirm that the configure script actually has the modified
test. It just seems that the library -lgf2x can not be found inside the
portage environment.
Any ideas?
Thanks
Thomas
--
Thomas Kahle
The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* [gentoo-devhelp] Re: ebuild environment
2009-08-11 20:42 [gentoo-devhelp] ebuild environment Thomas Kahle
@ 2009-08-11 20:48 ` Nikos Chantziaras
2009-08-11 21:07 ` Thomas Kahle
0 siblings, 1 reply; 4+ messages in thread
From: Nikos Chantziaras @ 2009-08-11 20:48 UTC (permalink / raw
To: gentoo-devhelp
On 08/11/2009 11:42 PM, Thomas Kahle wrote:
> Hi,
>
> I'm having some autotools trouble. In an ebuild I use sed to modify
> configure.ac with something like
>
> sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
>
> make configure is run by the ebuild after this!
"make configure"? Don't you need eautoreconf?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-devhelp] Re: ebuild environment
2009-08-11 20:48 ` [gentoo-devhelp] " Nikos Chantziaras
@ 2009-08-11 21:07 ` Thomas Kahle
2009-08-11 21:12 ` Thomas Kahle
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Kahle @ 2009-08-11 21:07 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1144 bytes --]
Nikos Chantziaras wrote:
> On 08/11/2009 11:42 PM, Thomas Kahle wrote:
>> Hi,
>>
>> I'm having some autotools trouble. In an ebuild I use sed to modify
>> configure.ac with something like
>>
>> sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
>>
>> make configure is run by the ebuild after this!
>
> "make configure"? Don't you need eautoreconf?
I dont know. I suppose not. How this package is supposed to be compiled is:
make configure
configure
make
make install
since I do the sed'ing of configure.ac before 'make configure' (which
created 'configure' script in the first place) I assume that eautoreconf
is not needed. I still tried it in 'various places' but no success. Let
me say again that I checked that the configure script is actually
modified and running the parts of the ebuild outside of portage works as
it should.
--
Thomas Kahle
The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-devhelp] Re: ebuild environment
2009-08-11 21:07 ` Thomas Kahle
@ 2009-08-11 21:12 ` Thomas Kahle
0 siblings, 0 replies; 4+ messages in thread
From: Thomas Kahle @ 2009-08-11 21:12 UTC (permalink / raw
To: gentoo-devhelp
[-- Attachment #1: Type: text/plain, Size: 1286 bytes --]
Thomas Kahle wrote:
> Nikos Chantziaras wrote:
>> On 08/11/2009 11:42 PM, Thomas Kahle wrote:
>>> Hi,
>>>
>>> I'm having some autotools trouble.
Ok, got it. It is an "--as-needed" thing. Now god, help me with this...
In an ebuild I use sed to modify
>>> configure.ac with something like
>>>
>>> sed "s/\"-lntl\"/\"-lntl\" \"-lgf2x -lntl\"/" -i "${S}/configure.ac"
>>>
>>> make configure is run by the ebuild after this!
>> "make configure"? Don't you need eautoreconf?
> I dont know. I suppose not. How this package is supposed to be compiled is:
>
> make configure
> configure
> make
> make install
>
> since I do the sed'ing of configure.ac before 'make configure' (which
> created 'configure' script in the first place) I assume that eautoreconf
> is not needed. I still tried it in 'various places' but no success. Let
> me say again that I checked that the configure script is actually
> modified and running the parts of the ebuild outside of portage works as
> it should.
>
--
Thomas Kahle
The fundamental theorem of algebra is open source. Like any other
mathematical theorem it can be applied free of charge and everybody
has access to its proof and can convince himself how it works. Why
should software be any different?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-08-11 21:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-11 20:42 [gentoo-devhelp] ebuild environment Thomas Kahle
2009-08-11 20:48 ` [gentoo-devhelp] " Nikos Chantziaras
2009-08-11 21:07 ` Thomas Kahle
2009-08-11 21:12 ` Thomas Kahle
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox