GTK2 on osx
massimodisasha
massimodisasha at yahoo.it
Fri Nov 10 03:14:33 PST 2006
hi,
i'm trying to install GTK2 with "darwinports"
but i've some problems:
when i try to do:
sudo port install gtk2
i've this error:
>> powerbook-g4-12-di-epifanio:~ epifanio$ sudo port install gtk2
>> Password:
>> Portfile changed since last build; discarding previous state.
>> ---> Fetching gtk2
>> ---> Attempting to fetch gtk+-2.10.3.tar.bz2 from ftp://ftp.gtk.org/
>> pub/gtk/v2.10
>> ---> Verifying checksum(s) for gtk2
>> ---> Extracting gtk2
>> ---> Configuring gtk2
>> Error: Target com.apple.configure returned: configure failure: shell
>> command "cd "/opt/local/var/db/dports/build/
>> _opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate
>> _dp
>> orts_x11_gtk2/work/gtk+-2.10.3" && LDFLAGS="-L/opt/local/lib -
>> lpango-1.0" CPPFLAGS="-I/opt/local/include -no-cpp-precomp -
>> DX_LOCALE" CFLAGS="-O3 -funroll-loops -fstrict-aliasing" ./configure
>> --prefix=/opt/local --disable-shm --disable-gtk-doc --with-included-
>> loaders --mandir=/opt/local/share/man" returned error 1
>> Command output: checking if the linker (/usr/bin/ld) is GNU ld... no
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking for g++ option to produce PIC... -fno-common
>> checking if g++ PIC flag -fno-common works... yes
>> checking if g++ supports -c -o file.o... yes
>> checking whether the g++ linker (/usr/bin/ld) supports shared
>> libraries... yes
>> checking dynamic linker characteristics... darwin8.8.0 dyld
>> checking how to hardcode library paths into programs... immediate
>> checking whether stripping libraries is possible... yes
>> appending configuration tag "F77" to libtool
>> checking for special C compiler options needed for large files... no
>> checking for _FILE_OFFSET_BITS value needed for large files... no
>> checking for _LARGE_FILES value needed for large files... no
>> checking for nm... /usr/bin/nm -p
>> checking whether to enable maintainer-specific portions of
>> Makefiles... no
>> checking for some Win32 platform... no
>> checking whether build environment is sane... yes
>> checking for strerror in -lcposix... no
>> checking for gcc option to accept ANSI C... none needed
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether make sets $(MAKE)... (cached) yes
>> checking for pkg-config... /opt/local/bin/pkg-config
>> checking pkg-config is at least version 0.9.0... yes
>> checking for BASE_DEPENDENCIES... configure: error: Package
>> requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >=
>> 1.12.0 cairo >= 1.2.0) 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 BASE_DEPENDENCIES_CFLAGS and
>> BASE_DEPENDENCIES_LIBS environment variables
>> to avoid the need to call pkg-config. See the pkg-config man page
>> for
>> more details.
>>
>> Error: Status 1 encountered during processing.
>> powerbook-g4-12-di-epifanio:~ epifanio$
i've tryed to update "glib"
but:
powerbook-g4-12-di-epifanio:~ epifanio$ sudo port install glib2
Portfile changed since last build; discarding previous state.
---> Fetching glib2
---> Attempting to fetch glib-2.12.4.tar.bz2 from ftp://ftp.gtk.org/
pub/gtk/v2.12
...........
---> Verifying checksum(s) for glib2
---> Extracting glib2
---> Applying patches to glib2
---> Configuring glib2
---> Building glib2 with target all
---> Staging glib2 into destroot
---> Packaging tgz archive for glib2 2.12.4_0
---> Installing glib2 2.12.4_0
---> Activating glib2 2.12.4_0
Error: Target com.apple.activate returned: Image error: Another
version of glib2 (2.10.2_0) is already active.
Error: Status 1 encountered during processing.
how can i do???
i must update to GTK2
beacouse it is a dependence for an R-Cran package (RGTK2, Rggobi)
can you help me?
very thanks!
Massimo
More information about the macports-users
mailing list