Newsgroup: it.comp.macintosh
Titolo: problema coi macports

sto cercando di compilare dia, ma la compilazione si incricca con questo 
errore:
checking for X_CFLAGS...
checking for X_LIBS...
checking for X... no
configure: error: X is required, but it was either disabled or not found.
Error: The following dependencies failed to build: gtk2 pango Xft2 
xrender cairo tiff jpeg libart_lgpl libxml2 libxslt p5-xml-parser 
perl5.8 popt
Error: Status 1 encountered during processing.
computer-di-ottavio-campana:~ ottavio$
Avete una idea perché non trovi X (che è stato installato)?

Ottavio Campana ha scritto:

Non so. Ho provato pure io. Stesso problema.
Ho appena installato macport e provato ad installare dia. Ecco l'output 
completo:
computer-di-simone:~ simone$ sudo /opt/local/bin/port selfupdate
MacPorts base version 1.5 installed
Downloaded MacPorts base version 1.5
The MacPorts installation is not outdated and so was not updated
selfupdate done!
computer-di-simone:~ simone$ sudo /opt/local/bin/port install dia
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from 
http://downloads.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat with target all
--->  Staging expat into destroot
--->  Installing expat 2.0.1_0
--->  Activating expat 2.0.1_0
--->  Cleaning expat
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.11.tar.gz from 
http://ftp.gnu.org/gnu/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Configuring libiconv
--->  Building libiconv with target all
--->  Staging libiconv into destroot
--->  Installing libiconv 1.11_4+darwin_8
--->  Activating libiconv 1.11_4+darwin_8
--->  Cleaning libiconv
--->  Fetching gettext
--->  Attempting to fetch gettext-0.16.1.tar.gz from 
http://ftp.gnu.org/gnu/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext with target all
--->  Staging gettext into destroot
--->  Installing gettext 0.16.1_0
--->  Activating gettext 0.16.1_0
--->  Cleaning gettext
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.22.tar.gz from 
http://mirror.opensysadmin.com/pkg-config/
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig with target all
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig 0.22_0
--->  Activating pkgconfig 0.22_0
--->  Cleaning pkgconfig
--->  Fetching glib2
--->  Attempting to fetch glib-2.12.13.tar.bz2 from 
ftp://ftp.gtk.org/pub/glib/2.12
--->  Verifying checksum(s) for glib2
--->  Extracting glib2
--->  Applying patches to glib2
--->  Configuring glib2
--->  Building glib2 with target all
--->  Staging glib2 into destroot
--->  Installing glib2 2.12.13_0
--->  Activating glib2 2.12.13_0
--->  Cleaning glib2
--->  Fetching atk
--->  Attempting to fetch atk-1.18.0.tar.bz2 from 
http://mandril.creatis.insa-lyon.fr/linux/gnome.org/sources/atk/1.18
--->  Verifying checksum(s) for atk
--->  Extracting atk
--->  Configuring atk
--->  Building atk with target all
--->  Staging atk into destroot
--->  Installing atk 1.18.0_0
--->  Activating atk 1.18.0_0
--->  Cleaning atk
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.3.tar.bz2 from 
http://www.zlib.net/
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib with target all
--->  Staging zlib into destroot
--->  Installing zlib 1.2.3_1
--->  Activating zlib 1.2.3_1
--->  Cleaning zlib
--->  Fetching libpng
--->  Attempting to fetch libpng-1.2.18.tar.bz2 from 
http://downloads.sourceforge.net/libpng
--->  Verifying checksum(s) for libpng
--->  Extracting libpng
--->  Configuring libpng
--->  Building libpng with target all
--->  Staging libpng into destroot
--->  Installing libpng 1.2.18_0+darwin_8
--->  Activating libpng 1.2.18_0+darwin_8
--->  Cleaning libpng
--->  Fetching freetype
--->  Attempting to fetch freetype-2.3.5.tar.bz2 from 
http://download.savannah.gnu.org/releases/freetype/
--->  Verifying checksum(s) for freetype
--->  Extracting freetype
--->  Applying patches to freetype
--->  Configuring freetype
--->  Building freetype with target all
--->  Staging freetype into destroot
--->  Installing freetype 2.3.5_0
--->  Activating freetype 2.3.5_0
--->  Cleaning freetype
--->  Fetching fontconfig
--->  Attempting to fetch fontconfig-2.4.2.tar.gz from 
http://downloads.sourceforge.net/gimp-win
--->  Verifying checksum(s) for fontconfig
--->  Extracting fontconfig
--->  Configuring fontconfig
--->  Building fontconfig with target all
--->  Staging fontconfig into destroot
--->  Installing fontconfig 2.4.2_0+macosx
--->  Activating fontconfig 2.4.2_0+macosx
--->  Cleaning fontconfig
--->  Fetching render
--->  Attempting to fetch renderext-0.9.tar.bz2 from 
http://xlibs.freedesktop.org/release/
--->  Verifying checksum(s) for render
--->  Extracting render
--->  Configuring render
--->  Building render with target all
--->  Staging render into destroot
--->  Installing render 0.9_0
--->  Activating render 0.9_0
--->  Cleaning render
--->  Fetching xrender
--->  Attempting to fetch libXrender-0.9.0.tar.bz2 from 
http://xlibs.freedesktop.org/release/
--->  Verifying checksum(s) for xrender
--->  Extracting xrender
--->  Configuring xrender
Error: Target org.macports.configure returned: configure failure: shell 
command " cd 
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_xrender/work/libXrender-0.9.0" 
&& ./configure --prefix=/opt/local " returned error 1
Command output: 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
checking if /usr/bin/gcc-4.0 PIC flag -fno-common works... yes
checking if /usr/bin/gcc-4.0 supports -c -o file.o... yes
checking whether the /usr/bin/gcc-4.0 linker (/usr/bin/ld) supports 
shared libraries... yes
checking dynamic linker characteristics... darwin8.9.1 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by /usr/bin/g++-4.0... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the /usr/bin/g++-4.0 linker (/usr/bin/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 supports -c -o file.o... yes
checking whether the /usr/bin/g++-4.0 linker (/usr/bin/ld) supports 
shared libraries... yes
checking dynamic linker characteristics... darwin8.9.1 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 pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for X_CFLAGS...
checking for X_LIBS...
checking for X... no
configure: error: X is required, but it was either disabled or not found.
Error: The following dependencies failed to build: gtk2 pango Xft2 
xrender cairo tiff jpeg libart_lgpl libxml2 libxslt p5-xml-parser 
perl5.8 popt
Error: Status 1 encountered during processing.
computer-di-simone:~ simone$
-- 
Simone Sollena
ICQ: #147054457    LU: #391947  LM: #292854
http://cerchietto.wordpress.com

 wrote:

Hai installato X11sdk dai developer tools?
-- 
In a minute there is time for decisions and revisions which a minute
will reverse
T.S. Eliot

 Hai installato X11sdk dai developer tools?
eh, no. stasrea quando avrò sotto mano i cd riprovo....

 Avete una idea perché non trovi X (che è stato installato)?
Ne ho alcune. Hai installato il pacchetto X11-SDK da Apple?
Perchè X11 è instalalto, ma gli headers no.
-- 
blog:  
http://www.akropolix.net/rik0/blogs
 | Uccidete i filosofi,
site:  
http://www.akropolix.net/rik0/
      | tenetevi riso e
forum: 
http://www.akropolix.net/forum/
     | bacchette per voi.

 eh, no. stasrea quando avrò sotto mano i cd riprovo....
Devi fare la 'custom installation' e pigliarlo da li.
-- 
  Enrico Franchi (RiK0)
[ Yellow Dog Linux User ]
[ #299188 Linux Counter ]
[ MacOS X User          ]

 Devi fare la 'custom installation' e pigliarlo da li.
e no, con la cutom installation lui mi vuole formattare il disco. E 
comunque mi chiede solo se voglio installare X11 non l'sdk....
non riesco a vedere questo sdk da nessuna parte....

 non riesco a vedere questo sdk da nessuna parte....
La custom installation di xcode, non di osx :)


 La custom installation di xcode, non di osx :)
esatto ;)


 
ah!!! :-) fatto

 ah!!!  fatto
funse?
