-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

joseph wrote:

hello,

i try to build a kde app including an applet and a control center module.
the app itself works fine but neither the applet nor the control center module.


here is what happened during make:


[...]
*** Warning: This system can not link to static lib archive ../libkmldonkey/libkmldonkey.la.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
*** But as you try to build a module library, libtool will still create
*** a static module, that should work as long as the dlopening application
*** is linked with the -dlopen flag to resolve symbols at runtime.
[...]
*** Warning: linker path does not have real file for library -lXinerama.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libXinerama and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/X11R6/lib/libXinerama.a


*** Warning: linker path does not have real file for library -lstdc++.
*** I have the capability to make that library automatically link in when
*** you link to this library. But I can only do this if you have a
*** shared version of the library, which you do not appear to have
*** because I did check the linker path looking for a file starting
*** with libstdc++ and none of the candidates passed a file format test
*** using a file magic. Last file checked: /usr/lib/gcc/darwin/default/libstdc++.a


*** Warning: libtool could not satisfy all declared inter-library
*** dependencies of module kcm_kcmdonkey.  Therefore, libtool will create
*** a static module, that should work as long as the dlopening
*** application is linked with the -dlopen flag.
[...]

the control center module i built is a .a instead of a .so . control center isn't able to open it. is there a way to fix this ?

When porting KDE apps, the default admin/ dir from KDE doesn't understand darwin, so it just makes static libraries. For most apps, all you should have to do is:


1. download the latest kde-admindir tarball from
   http://ranger.befunk.com/fink/
2. untar it from inside the root of your application's source tree
3. run "make -f admin/Makefile.common cvs"

then run configure and such normally.

If you have other issues with this feel free to contact me offline for more info. There's usually only a few tricks to porting KDE stuff in general, the admin dir is the big one.


- -- [ Benjamin Reed a.k.a. Ranger Rick ] [ http://ranger.befunk.com/ ]
"You can scoff, Lister, that's nothing new. They laughed at Galileo.
They laughed at Edison. They laughed at Columbo." "Who's Columbo?"
"The man with the dirty mac who discovered America." -- _Red Dwarf_
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQE+35d4Uu+jZtP2Zf4RAjfaAJ9Zp/l5FHqFOPthrHzsW88rKcC0tACgn3mJ
ay51k3j0QAJQHi2MkcGhM3o=
=AGri
-----END PGP SIGNATURE-----



-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to