Re: Mac OS X native port linking problems



Hi

Well it's looking better now. I even ended up with ready to use Installers. I still got my pkg-config/headers problem though so the script still has some ugly hard links in it., besides all the other debugging ugliness. I'm also not sure if the framework is usable the way it's now. I will first have to try to compile some apps against it.  I'll definitely come with more problems soon.

Cheers,
Ezra.


On 23.05.2006, at 23:16, Ben Hall wrote:

Hey mate,  Nice idea of the package - I was planning on doing something but you got in before me.

How is it coming along? Working yet?

On 22/05/06, Easy B <easy-b freesurf ch> wrote:
Thanx for the quick responds.

The .pc file from fontconfig looks normal:

prefix=/Library/Frameworks/Gnome.framework/Frameworks/
Fontconfig.framework/Versions/2.3.95
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: Fontconfig
Description: Font configuration and customization library
Version: 2.3.95
Libs: -L${libdir} -lfontconfig
Cflags: -I${includedir}

The funny thing is when I execute "pkg-config --cflags fontconfig"
from the build script nothing returns. While PKG_CONFIG_PATH is
following:

:/Library/Frameworks/PkgConfig.framework/Versions/0.20/lib/pkgconfig:/
Library/Frameworks/GetText.framework/Versions/0.14.5/lib/pkgconfig:/
Library/Frameworks/Gnome.framework/Frameworks/Libxml2.framework/
Versions/2.6.24/lib/pkgconfig:/Library/Frameworks/Gnome.framework/
Frameworks/Freetype.framework/Versions/2.1.10/lib/pkgconfig:/Library/
Frameworks/Gnome.framework/Frameworks/Fontconfig.framework/Versions/
2.3.95/lib/pkgconfig:/Library/Frameworks/Gnome.framework/Frameworks/
Tiff.framework/Versions/3.8.2/lib/pkgconfig:/Library/Frameworks/
Gnome.framework/Frameworks/Png.framework/Versions/1.2.10/lib/
pkgconfig:/Library/Frameworks/Gnome.framework/Frameworks/
Cairo.framework/Versions/1.1.6/lib/pkgconfig:/Library/Frameworks/
Gnome.framework/Frameworks/Glib2.framework/Versions/2.11.1/lib/
pkgconfig:/Library/Frameworks/Gnome.framework/Frameworks/
Atk.framework/Versions/1.11.4/lib/pkgconfig:/Library/Frameworks/
Gnome.framework/Frameworks/Pango.framework/Versions/1.13.1/lib/pkgconfig

If I set in the shell PKG_CONFIG_PATH to the above and execute "pkg-
config --cflags fontconfig" I get "-I/Library/Frameworks/
Gnome.framework/Frameworks/Fontconfig.framework/Versions/2.3.95/
include " like it should be.


About the ImageIO.framework. If I do "grep -R ImageIO.framework *" in
the sources of the normal build and the framework build I find a
references to it in the .deps folders of gdk, pango and cairo. But
only one build fails. I have the self built tiff and png libraries in
both cases in the pkg-config path. Configure would fails without the
self built libraries. How can I control to witch library I want to
link?  Could I somehow add the ImageIO.framework with the "-
framework" option. ImageIO.framework has libTIFF.dylib and
libPng.dylib in it. Is that all we need?

Hope we can figure this out eventually. The script worked for older
versions of gtk though.

Anyway thanx for your help,

Ezra.


On 22.05.2006, at 21:05, Richard Hult wrote:

> Easy B skrev:
>> I found a pretty cool build script from the mono project that
>> actually already does the job. More or less all I did was update
>> the  links to the latest tarballs.
>
> Ah, that's interesting.
>
>> Cannot load module /Volumes/Users/easyb/Prog/gtk/native/
>> frameworkbuild/Dependancies/gtk+-2.9.1/modules/input/im-am-et.la:
>> dlopen(/Volumes/Users/easyb/Prog/gtk/native/frameworkbuild/
>> Dependancies/gtk+-2.9.1/modules/input/.libs/im- am-et.so, 10):
>> Symbol  not found: __cg_TIFFWriteDirectory
>>    Referenced from: /System/Library/Frameworks/
>> ApplicationServices.framework/Versions/A/Frameworks/
>> ImageIO.framework / Versions/A/ImageIO
>>    Expected in: /Library/Frameworks/Gnome.framework/Frameworks/
>> Tiff.framework/Versions/3.8.2/lib/libTIFF.dylib
>
> It looks like there is a clash between the tiff library in the
> system and the one you've built. Would it be possible to use the
> system one instead? And likewise for libpng.
>
>> Anyway, the other strange thing that happened was that some
>> headers  couldn't be found. I found out that pkg-config wouldn't
>> return  anything when doing "pkg-config --cflags fontconfig"
>> although "--libs  fontconfig" would return the right thing. Any
>> ideas?
>
> I've never seen that, I get the right include flags here but that's
> with my "normal", non-framework build of course. What does the pc
> file look like?
>
> Regards,
> Richard
>
> --
> Imendio AB, http://www.imendio.com/

_______________________________________________
gtk-devel-list mailing list
gtk-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-devel-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]