Picon
Favicon

Re: missing deps

Forget the part about r-base _ another false alarm,
due this time to the install-names being all wrong..

JF

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Picon
Gravatar

Re: Build issue on attempting to update lyx-qt to new upstream version

Alexander K. Hansen wrote:
> Trying to do upstream lyx-1.5.2, via simply updating the extant .info
> file to use the new %v, I got the following error:
> ...
> libtool: link: cannot find the library `'

I get the same error when trying to rebuild the existing version
(after just completing deps and bdeps).

Must be one of the recursively called .la files that got bugged
_ but I checked the dependency-libs of the .la files in the build-dir, 
and the output of the same libtool command with '--debug' is
decidedly too long...

Jean-Francois

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Peter O'Gorman | 1 Dec 03:30
Favicon
Gravatar

Re: Build issue on attempting to update lyx-qt to new upstream version

Alexander K. Hansen wrote:
> OS 10.4.11
> G4/867 Single-processor
> Xcode 2.5
> Trying to do upstream lyx-1.5.2, via simply updating the extant .info
> file to use the new %v, I got the following error:

> libtool: link: cannot find the library `'
> make[3]: *** [lyx-qt4] Error 1
> 
> I've put the build log online at
> http://akhmac.blogdns.net/~hansen/finklogs/fink-build-log_lyx-qt_1.5.2-1_2007.11.30-09.13.46

This is usually due to the libqt-mt.la files having -framework Carbon
etc. in dependency_libs.

Peter
--

-- 
Peter O'Gorman
http://pogma.com

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Picon
Favicon

Re: Build issue on attempting to update lyx-qt to new upstream version


On 01 Dec 2007, at 03:30, Peter O'Gorman wrote:

> Alexander K. Hansen wrote:
>> libtool: link: cannot find the library `'
>>
> This is usually due to the libqt-mt.la files having -framework Carbon
> etc. in dependency_libs.

In this case %p/lib/qt4-x11/lib/libQt{Core,Gui}.la
You mean, there should be no frameworks there,
(just as there are none in libqt-mt.la ?)

JF

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Peter O'Gorman | 1 Dec 04:01
Favicon
Gravatar

Re: Build issue on attempting to update lyx-qt to new upstream version

Jean-François Mertens wrote:
> 
> On 01 Dec 2007, at 03:30, Peter O'Gorman wrote:
> 
>> Alexander K. Hansen wrote:
>>> libtool: link: cannot find the library `'
>>>
>> This is usually due to the libqt-mt.la files having -framework Carbon
>> etc. in dependency_libs.
> 
> In this case %p/lib/qt4-x11/lib/libQt{Core,Gui}.la
> You mean, there should be no frameworks there,
> (just as there are none in libqt-mt.la ?)

It would help libtool if there were either no frameworks there, or if
what is there is quoted with -Wl,. '-Wl,-framework,Carbon' would
probably work. Alternatively RangerRick has a libtool patch somewhere
that could be applied to the lyx-qt package.

I guess I should apply it upstream to libtool too. I did not do so
originally because libtool-2.0 was just around the corner :/

Peter
--

-- 
Peter O'Gorman
http://pogma.com

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
(Continue reading)

Picon
Favicon

Re: Build issue on attempting to update lyx-qt to new upstream version


On 01 Dec 2007, at 03:43, Jean-François Mertens wrote:

>
> On 01 Dec 2007, at 03:30, Peter O'Gorman wrote:
>
>> Alexander K. Hansen wrote:
>>> libtool: link: cannot find the library `'
>>>
>> This is usually due to the libqt-mt.la files having -framework Carbon
>> etc. in dependency_libs.
>
> In this case %p/lib/qt4-x11/lib/libQt{Core,Gui}.la
> You mean, there should be no frameworks there,
> (just as there are none in libqt-mt.la ?)

Rebuilding lyx-qt now after adding in qt4-x11.info the last of the  
following lines

>         #### FIX LA, PRL and PC FILES ####
>
>         perl -pi -e 's,%b/lib,%p/lib/%N/lib,g' %i/lib/%N/lib/ 
> pkgconfig/*.pc %i/lib/%N/lib/*.prl %i/lib/%N/lib/*.la
>         perl -pi -e 's,-framework +[A-Za-z]+ ,,g' %i/lib/%N/lib/*.la

sure it'll be OK :)

JF
-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
(Continue reading)

Picon
Favicon

Re: Build issue on attempting to update lyx-qt to new upstream version


On 01 Dec 2007, at 04:01, Peter O'Gorman wrote:

> Jean-François Mertens wrote:
>>
>> On 01 Dec 2007, at 03:30, Peter O'Gorman wrote:
>>
>>> Alexander K. Hansen wrote:
>>>> libtool: link: cannot find the library `'
>>>>
>>> This is usually due to the libqt-mt.la files having -framework  
>>> Carbon
>>> etc. in dependency_libs.
>>
>> In this case %p/lib/qt4-x11/lib/libQt{Core,Gui}.la
>> You mean, there should be no frameworks there,
>> (just as there are none in libqt-mt.la ?)
>
> It would help libtool if there were either no frameworks there, or if
> what is there is quoted with -Wl,. '-Wl,-framework,Carbon' would
> probably work. Alternatively RangerRick has a libtool patch somewhere
> that could be applied to the lyx-qt package.

previous thing worked of course;
trying now with

> perl -pi -e 's;(-framework) +([A-Za-z]+ );-Wl,$1,$2;g' %i/lib/%N/ 
> lib/*.la

instead.
(Continue reading)

Picon
Favicon

Re: Build issue on attempting to update lyx-qt to new upstream version


On 01 Dec 2007, at 04:27, Jean-François Mertens wrote:

>
> On 01 Dec 2007, at 04:01, Peter O'Gorman wrote:
>
>> Jean-François Mertens wrote:
>>>
>>> On 01 Dec 2007, at 03:30, Peter O'Gorman wrote:
>>>
>>>> Alexander K. Hansen wrote:
>>>>> libtool: link: cannot find the library `'
>>>>>
>>>> This is usually due to the libqt-mt.la files having -framework
>>>> Carbon
>>>> etc. in dependency_libs.
>>>
>>> In this case %p/lib/qt4-x11/lib/libQt{Core,Gui}.la
>>> You mean, there should be no frameworks there,
>>> (just as there are none in libqt-mt.la ?)
>>
>> It would help libtool if there were either no frameworks there, or if
>> what is there is quoted with -Wl,. '-Wl,-framework,Carbon' would
>> probably work. Alternatively RangerRick has a libtool patch somewhere
>> that could be applied to the lyx-qt package.
>
> previous thing worked of course;
> trying now with
>
>> perl -pi -e 's;(-framework) +([A-Za-z]+ );-Wl,$1,$2;g' %i/lib/%N/
(Continue reading)

Peter O'Gorman | 1 Dec 05:20
Favicon
Gravatar

Re: Build issue on attempting to update lyx-qt to new upstream version

Jean-François Mertens wrote:
> 
> This one failed with the same error.
> I guess from your "would probably work"
> that this might depend on the exact version

No, I don't think that I have ever actually tried it. The only .la files
 in the wild that have '-framework Carbon' and so on in dependency_libs
are the ones that come from trolltech (because they generate them, and
they do not use libtool).

I have in the past said "Not a libtool bug, blame Trolltech" for this,
but I will try to fix when I next get around to hacking on libtool :-)

Peter
--

-- 
Peter O'Gorman
http://pogma.com

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
Martin Costabel | 1 Dec 10:05
Picon

Re: Build issue on attempting to update lyx-qt to new upstream version

Jean-François Mertens wrote:
[]
> Rebuilding lyx-qt now after adding in qt4-x11.info the last of the  
> following lines

Do you have a qt4-x11 that actually builds?

--

-- 
Martin

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4

Gmane