Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-12-01 Thread Martin Costabel
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-12-01 Thread Jean-François Mertens

On 01 Dec 2007, at 10:05, Martin Costabel wrote:
(sorry, was away for the day..)

 Do you have a qt4-x11 that actually builds?

NO ! Shock ! Build was broken w/o even a rev-up ...
But now I have :)
I see :
 POSIX iconv auto-detection... ()
 c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/ 
 darwin-g++ -I. -I. -o iconv.o iconv.cpp
 iconv.cpp: In function 'int main(int, char**)':
 iconv.cpp:13: error: invalid conversion from 'char**' to 'const  
 char**'
 iconv.cpp:13: error:   initializing argument 2 of 'size_t libiconv 
 (void*, const char**, size_t*, char**, size_t*)'
 make: *** [iconv.o] Error 1
 POSIX iconv disabled.
 GNU libiconv auto-detection... ()
 c++ -c -pipe -Os -Wall -W -D__USE_WS_X11__ -I../../../mkspecs/ 
 darwin-g++ -I. -I. -o gnu-libiconv.o gnu-libiconv.cpp
 gnu-libiconv.cpp: In function 'int main(int, char**)':
 gnu-libiconv.cpp:13: error: invalid conversion from 'char**' to  
 'const char**'
 gnu-libiconv.cpp:13: error:   initializing argument 2 of 'size_t  
 libiconv(void*, const char**, size_t*, char**, size_t*)'
 make: *** [gnu-libiconv.o] Error 1
 GNU libiconv disabled.
But I see no -I%p flag whatsoever here, so that may be fixable by  
adding the right export CPATH=..;
this seems the first problem _ isn't it policy to use fink's pkgs _  
in particular libiconv ?
And since libiconv didn't change as far as I know, there should be no  
problem.
Still didn't work.
Looking at the latest change in the patch file to gnu-libiconv.cpp, I  
see that if I
in addition revert this change as a last line in the PatchScript _  
then things
should build fine.

Building now _ at least I get now GNU libiconv enabled. at that point.
End of the story when I come back tonight.

Jean-Francois

PS1:

diff -r1.6 qt4-x11.info
51a52
perl -pi -e 's,char [*]inp,const $,' config.tests/unix/gnu- 
libiconv/gnu-libiconv.cpp
57c58

---
export CPATH=%p/include


PS2: Things seem correct now :
(except for the suspicious yes for 3DNOW _ but seems harmless)

Debug ... no
Qt 3 compatibility .. yes
QtDBus module ... yes
STL support . yes
PCH support . yes
MMX/3DNOW/SSE/SSE2..  yes/yes/yes/yes
IPv6 support  yes
IPv6 ifname support . yes
getaddrinfo support . yes
getifaddrs support .. yes
Accessibility ... yes
NIS support . yes
CUPS support  yes
Iconv support ... gnu
Glib support  yes
Large File support .. yes
GIF support . yes
TIFF support  plugin (system)
JPEG support  plugin (system)
PNG support . yes (system)
MNG support . plugin (system)
zlib support  system
OpenGL support .. yes
NAS sound support ... no
Session management .. yes
XShape support .. yes
Xinerama support  yes
Xcursor support . yes
Xfixes support .. yes
Xrandr support .. yes
Xrender support . yes
FontConfig support .. yes
XKB Support . yes
immodule support  yes
SQLite 2 support  plugin
SQLite support .. plugin (qt)
OpenSSL support . yes


-
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-12-01 Thread Jean-François Mertens

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

 Building now _ at least I get now GNU libiconv enabled. at that  
 point.
 End of the story when I come back tonight.

Wow ! went at full speed _ already finished now, before I leave.
Build successfull.

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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Jean-Francois Mertens
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Jean-François Mertens

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/
 lib/*.la

 instead.

This one failed with the same error.
I guess from your would probably work
that this might depend on the exact version
of libtool used ?
(And just conceivaibly Alexander's 1.5.2 uses a newer version ?
with 1.5.0 I get :
# ./libtool --version
ltmain.sh (GNU libtool) 1.5.16 (1.1220.2.235 2005/04/25 18:13:26)
)

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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Jean-François Mertens

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.

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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Peter O'Gorman
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Peter O'Gorman
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Jean-François Mertens

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
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Peter O'Gorman
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
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


Re: [Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Jean-François Mertens

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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel


[Fink-devel] Build issue on attempting to update lyx-qt to new upstream version

2007-11-30 Thread Alexander K. Hansen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
 
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:
...
/bin/sh ../libtool --tag=CXX   --mode=link g++  -O2  -framework Carbon
- -framework OpenGL -framework AGL -framework QuickTime -L/sw/lib -o
lyx-qt4 main.o  ASpell.o  ISpell.o SpellBase.o Author.o Bidi.o boost.o
Box.o BranchList.o Buffer.o buffer_funcs.o BufferList.o BufferParams.o
BufferView.o bufferview_funcs.o Bullet.o Changes.o Chktex.o Color.o
ConverterCache.o Converter.o CoordCache.o Counters.o Cursor.o
CursorSlice.o CutAndPaste.o debug.o DepTable.o Dimension.o
DocIterator.o Encoding.o ErrorList.o Exporter.o factory.o Floating.o
FloatList.o Font.o FontIterator.o Format.o FuncRequest.o FuncStatus.o
gettext.o Graph.o Importer.o InsetIterator.o InsetList.o Intl.o
KeyMap.o KeySequence.o Language.o LaTeX.o LaTeXFeatures.o Layout.o
Length.o lengthcommon.o Lexer.o LyXAction.o callback.o LyX.o lyxfind.o
LyXFunc.o LyXRC.o Server.o ServerSocket.o LyXVC.o MenuBackend.o
Messages.o MetricsInfo.o Mover.o output.o output_docbook.o
output_latex.o OutputParams.o output_plaintext.o Paragraph.o
paragraph_funcs.o ParagraphMetrics.o ParagraphParameters.o
ParIterator.o PrinterParams.o Row.o rowpainter.o Session.o sgml.o
Spacing.o TexRow.o Text.o Text2.o Text3.o TextClass.o TextClassList.o
TextMetrics.o Thesaurus.o TocBackend.o toc.o ToolbarBackend.o Trans.o
Undo.o VCBackend.o version.o VSpace.o mathed/libmathed.la
insets/libinsets.la frontends/libfrontends.la frontends/qt4/libqt4.la
frontends/controllers/libcontrollers.la graphics/libgraphics.la
support/libsupport.la ../boost/libs/regex/src/libboost_regex.la
../boost/libs/signals/src/libboost_signals.la
../boost/libs/filesystem/src/libboost_filesystem.la
../boost/libs/iostreams/src/libboost_iostreams.la -lintl -liconv -lc
- -Wl,-framework -Wl,CoreFoundation  -laspell  -lSM -lICE -lm  -liconv
- -lz  -L/usr/X11R6/lib -lX11  -Wl,-framework,ApplicationServices
mkdir .libs
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

- --
Alexander K. Hansen
Fink User Liaison/Documenter
akh AT finkproject DOT org
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
iD8DBQFHUDiRB8UpO3rKjQ8RAlQOAJ9eiutCiMG1PbTttEZ4kmORChgxSgCcCBjD
ZV3MA9ZW/WmImka3WKVkO3I=
=ELNv
-END PGP SIGNATURE-


-
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
___
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel