pkgconfig / dependencies in xorg ?

Jeremy Huddleston jeremyhu at macports.org
Sat Jun 13 22:14:52 PDT 2009


Well xorg-libX11 has depends_lib on xorg-xproto ... so it should be  
getting updated before xorg-libX11 ... what version of xorg-xproto do  
you have on your system?

On Jun 12, 2009, at 17:20, Thomas De Contes wrote:

> hi :-)
>
>
> here is what i get when i upgrade ports on a very old installation :
> port -u upgrade outdated
>
>
> --->  Configuring xorg-libX11
> Error: Target org.macports.configure returned: configure failure:  
> shell command " cd "/Users/thomas/Documents/prgm/bin/autoinstall/ 
> macports/var/macports/build/ 
> _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_x11_xorg 
> -libX11/work/libX11-1.2.1" && ./configure --prefix=/Users/thomas/ 
> Documents/prgm/bin/autoinstall/macports --without-xcb " returned  
> error 1
> Command output: checking if the linker (/usr/libexec/gcc/powerpc- 
> apple-darwin8/4.0.1/ld) is GNU ld... no
> checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/ 
> powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
> checking for /usr/bin/g++-4.0 option to produce PIC... -fno-common
> checking if /usr/bin/g++-4.0 PIC flag -fno-common works... yes
> checking if /usr/bin/g++-4.0 static flag -static works... no
> checking if /usr/bin/g++-4.0 supports -c -o file.o... yes
> checking whether the /usr/bin/g++-4.0 linker (/usr/libexec/gcc/ 
> powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin8.11.0 dyld
> checking how to hardcode library paths into programs... immediate
> appending configuration tag "F77" to libtool
> checking for bash... /bin/bash
> checking if dolt supports this host... no, falling back to libtool
> checking for gcc... (cached) /usr/bin/gcc-4.0
> checking whether we are using the GNU C compiler... (cached) yes
> checking whether /usr/bin/gcc-4.0 accepts -g... (cached) yes
> checking for /usr/bin/gcc-4.0 option to accept ISO C89... (cached)  
> none needed
> checking dependency style of /usr/bin/gcc-4.0... (cached) gcc3
> checking for cpp... /usr/bin/cpp
> checking if /usr/bin/cpp requires -undef... no
> checking if /usr/bin/cpp requires -traditional... no
> checking whether to use XCB... (cached) no
> checking for pkg-config... /Users/thomas/Documents/prgm/bin/ 
> autoinstall/macports/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for XPROTO... configure: error: Package requirements  
> (xproto >= 7.0.13) were not met.
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively you may set the XPROTO_CFLAGS and XPROTO_LIBS  
> environment variables
> to avoid the need to call pkg-config.  See the pkg-config man page for
> more details.
>
>
> and it built fine just after it upgraded xorg-xproto (continuing  
> port -u upgrade outdated)
>
> and then :
>
>
> --->  Configuring xorg-libXrandr
> Error: Target org.macports.configure returned: configure failure:  
> shell command " cd "/Users/thomas/Documents/prgm/bin/autoinstall/ 
> macports/var/macports/build/ 
> _Users_thomas_Documents_prgm_bin_autoinstall_macports_var_macports_sources_rsync.macports.org_release_ports_x11_xorg 
> -libXrandr/work/libXrandr-1.3.0" && ./configure --prefix=/Users/ 
> thomas/Documents/prgm/bin/autoinstall/macports " returned error 1
> Command output: checking for stdint.h... yes
> checking for unistd.h... yes
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if /usr/bin/gcc-4.0 supports -fno-rtti -fno-exceptions... no
> checking for /usr/bin/gcc-4.0 option to produce PIC... -fno-common - 
> DPIC
> checking if /usr/bin/gcc-4.0 PIC flag -fno-common -DPIC works... yes
> checking if /usr/bin/gcc-4.0 static flag -static works... no
> checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
> checking if /usr/bin/gcc-4.0 supports -c -o file.o... (cached) yes
> checking whether the /usr/bin/gcc-4.0 linker (/usr/libexec/gcc/ 
> powerpc-apple-darwin8/4.0.1/ld) supports shared libraries... yes
> checking dynamic linker characteristics... darwin8.11.0 dyld
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking for pkg-config... /Users/thomas/Documents/prgm/bin/ 
> autoinstall/macports/bin/pkg-config
> checking pkg-config is at least version 0.9.0... yes
> checking for RANDR... configure: error: Package requirements (x11  
> randrproto >= 1.3 xext xextproto xrender renderproto) were not met:
>
> No package 'renderproto' found
>
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
>
> Alternatively, you may set the environment variables RANDR_CFLAGS
> and RANDR_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
>
> after doing
> port deactivate render
> and redo
> port -u upgrade outdated
>
> it activates xorg-renderproto (right)
> it upgrades xrender
> and it builds xorg-libXrandr fine
>
>
> well, seeing the end of the errors, it may be a problem with  
> pkgconfig,
> and regarding on how to get them around, it may be a problem about  
> dependencies
>
> what do you think about it ?
>
>
> -- 
> Téléassistance / Télémaintenance
> http://www.portparallele.com/ThomasDECONTES/
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users



More information about the macports-users mailing list