discuss-gnustep
[Top][All Lists]
Advanced

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

Re: Building GNUstep back cairo on Solaris


From: Andreas Höschler
Subject: Re: Building GNUstep back cairo on Solaris
Date: Wed, 5 Feb 2014 13:59:40 +0100

Hi Fred,

I somehow got cairo to build on one machine. I basically did

        /opt/csw/bin/pkgutil -i CSWlibcairo
        /opt/csw/bin/pkgutil -i CSWlibcairo-dev
        /opt/csw/bin/pkgutil -i CSWpkgconfig
        /opt/csw/bin/pkgutil -i CSWkbproto
        /opt/csw/bin/pkgutil -i CSWinputproto
        /opt/csw/bin/pkgutil -u CSWlibfreetype
        /opt/csw/bin/pkgutil -i CSWlibfreetype6
        /opt/csw/bin/pkgutil -u CSWfreetype
        /opt/csw/bin/pkgutil -u CSWftype2

        export 
PKG_CONFIG_PATH=/opt/csw/lib/pkgconfig:/opt/csw/X11/lib/pkgconfig:/usr/lib/pkgconfig

        cd /usr/src/core/back
        make distclean
        ./configure --enable-graphics=cairo
        make
        make install

However, I had a 

In file included from xpbs.m:31:
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring #pragma ident 
 Linking tool gpbs ...
Undefined                       first referenced
 symbol                             in file
FT_Library_SetLcdFilter             /opt/csw/lib/libcairo.so
ld: fatal: symbol referencing errors. No output written to obj/gpbs
collect2: ld returned 1 exit status
make[2]: *** [obj/gpbs] Error 1

problem in the run and unfortunately don't know exactly which step fixed that 
one! :-( Thus my guide might not be reproducible without further ado!? :-( Any 
idea what could have cause the FT_Library_SetLcdFilter issue? It seesm 
FT_Library_SetLcdFilter is part of libfreetype and was introduced between 2.2.1 
and 2.3.0. One of the 

        /opt/csw/bin/pkgutil -u CSWlibfreetype
        /opt/csw/bin/pkgutil -i CSWlibfreetype6
        /opt/csw/bin/pkgutil -u CSWfreetype
        /opt/csw/bin/pkgutil -u CSWftype2

might have fixed this!? Heck, whatever! It is running on at least one machine 
now.

Thanks a lot for you help,

 Andreas



> Looks like your main issue is with pkg-config, which seems to be mapped to 
> the missing gnome-config. Please try to resolve that by properly installing 
> pkg-config. If Wikipedia is correct gnome-config has been obsolete for more 
> than ten years now.
> 
> Fred
> 
> On the road
> 
> Am 05.02.2014 um 00:20 schrieb Andreas Höschler <ahoesch@smartsoft.de>:
> 
>> Hi all,
>> 
>> I used libart so far but need to migrate to cairo to get rid of the "*** 
>> attempt to put segment in horiz list twice" libart bug.
>> 
>> Unfortunately all my attempts to get cairo and back to build on Solaris 10 
>> x86 failed so far! :-(
>> 
>> I did
>> 
>>   pico /etc/opt/csw/pkgutil.conf
>> 
>>   mirror=http://ultra.smartsoft.de/opencsw/beanie
>> 
>>   /opt/csw/bin/pkgutil -i CSWlibcairo
>>   /opt/csw/bin/pkgutil -i CSWlibcairo-dev
>>   /opt/csw/bin/pkgutil -i CSWlibcairo-xlib
>> 
>>   ls /opt/csw/lib/amd64/pkgconfig/cairo.pc
>> 
>>   export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/csw/lib/amd64/pkgconfig
>> 
>> and then
>> 
>>   cd /usr/src/core/back
>>   ./configure --enable-server=x11 --enable-graphics=cairo
>> 
>> ...
>> checking ft2build.h usability... yes
>> checking ft2build.h presence... yes
>> checking for ft2build.h... yes
>> checking for pkg-config... /usr/local/bin/pkg-config
>> checking for xft... sh: gnome-config: not found
>> sh: gnome-config: not found
>> Package xft was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `xft.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'xft' found
>> checking for XftFontOpen in -lXft... no
>> checking X11/Xft/Xft.h usability... no
>> checking X11/Xft/Xft.h presence... yes
>> configure: WARNING: X11/Xft/Xft.h: present but cannot be compiled
>> configure: WARNING: X11/Xft/Xft.h:     check for missing prerequisite 
>> headers?
>> configure: WARNING: X11/Xft/Xft.h: see the Autoconf documentation
>> configure: WARNING: X11/Xft/Xft.h:     section "Present But Cannot Be 
>> Compiled"
>> configure: WARNING: X11/Xft/Xft.h: proceeding with the preprocessor's result
>> configure: WARNING: X11/Xft/Xft.h: in the future, the compiler will take 
>> precedence
>> checking for X11/Xft/Xft.h... yes
>> checking for glXMakeContextCurrent in -lGL... yes
>> checking GL/glx.h usability... yes
>> checking GL/glx.h presence... yes
>> checking for GL/glx.h... yes
>> checking for GLX_RGBA_TYPE... yes
>> checking for usleep... yes
>> checking for X11/extensions/XShm.h... yes
>> checking for shmctl... yes
>> checking for main in -lgdi32... no
>> checking for main in -lmsimg32... no
>> checking for main in -lopengl32... no
>> checking windows.h usability... no
>> checking windows.h presence... no
>> checking for windows.h... no
>> checking for libart2... 2.3.16
>> checking for cairo... yes
>> checking CAIRO_CFLAGS... -I/opt/csw/include/cairo  
>> checking CAIRO_LIBS... -L/opt/csw/lib/64 -lcairo  
>> checking for cairo-ft... yes
>> checking CAIRO_FT_CFLAGS... -I/opt/csw/include/cairo 
>> -I/usr/local/include/freetype2  
>> checking CAIRO_FT_LIBS... -L/opt/csw/lib/64 -L/usr/local/lib -lcairo 
>> -lfreetype -lz  
>> checking for cairo-xlib... sh: gnome-config: not found
>> sh: gnome-config: not found
>> Package x11 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `x11.pc'
>> to the PKG_CONFIG_PATH environment variable
>> Package 'x11', required by 'cairo-xlib', not found
>> checking for cairo-win32... sh: gnome-config: not found
>> sh: gnome-config: not found
>> Package cairo-win32 was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `cairo-win32.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'cairo-win32' found
>> checking for cairo-glitz... sh: gnome-config: not found
>> sh: gnome-config: not found
>> Package cairo-glitz was not found in the pkg-config search path.
>> Perhaps you should add the directory containing `cairo-glitz.pc'
>> to the PKG_CONFIG_PATH environment variable
>> No package 'cairo-glitz' found
>> checking Backend Server... x11
>> checking Backend Graphics... cairo
>> checking Cairo backend... configure: error: Invalid Cairo installation
>> 
>> I am not sure what to do about that. Any idea? Has anyone got back/cairo to 
>> work under Solaris?
>> 
>> Thanks a lot,
>> 
>> Andreas
>> 
>> 
>> _______________________________________________
>> Discuss-gnustep mailing list
>> Discuss-gnustep@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnustep




reply via email to

[Prev in Thread] Current Thread [Next in Thread]