Le 23 févr. 08 à 19:58, Ryan Schmidt a écrit :
On Feb 23, 2008, at 17:51, Jean-Luc BERTé wrote:
Le 23 févr. 08 à 19:21, Ryan Schmidt a écrit :
On Feb 23, 2008, at 16:52, Jean-Luc BERTé wrote:
Le 23 févr. 08 à 07:26, Ryan Schmidt a écrit :
On Feb 22, 2008, at 21:47, Jean-Luc BERTŽE wrote:
Error: Target org.macports.activate returned: Image error:
/opt/local/include/readline/chardefs.h already exists and does
not
belong to a registered port. Unable to activate port readline.
Error: The following dependencies failed to build: apache2 apr-
util
sqlite3 readline pcre jpeg libmcrypt libpng libxml2 libxslt mhash
postgresql82 bison m4 tiff
Error: Status 1 encountered during processing.
Apparently there are some readline-related files in /opt/local
that aren't registered as belonging to a port. Perhaps a
previous failed attempt at installing readline. Probably best
to force the installation of readline:
sudo port -f activate readline
Then try your above command(s) again.
oki i have done :
sudo port -f activate readline
sudo port install php5 +postgresql +pear +apache2 +mysql5
and i have :
---> Building sqlite3 with target all
Error: Target org.macports.build returned: shell command " cd "/
opt/local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_da
tabases_sqlite3/work/sqlite-3.5.6" && gnumake all " returned
error 2
Command output: ./libtool --mode=link /usr/bin/gcc-4.0 -O2 -I. -
I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -
DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -
L/opt/local/lib -DHAVE_READLINE=1 -I/opt/local/include -lpthread \
-o sqlite3 ./src/shell.c libsqlite3.la \
-L/opt/local/lib -lreadline -lm
/usr/bin/gcc-4.0 -O2 -I. -I./src -DNDEBUG -DSQLITE_THREADSAFE=1 -
DSQLITE_THREAD_OVERRIDE_LOCK=-1 -DSQLITE_OMIT_LOAD_EXTENSION=1 -
DHAVE_READLINE=1 -I/opt/local/include -o .libs/sqlite3 ./src/
shell.c -L/opt/local/lib ./.libs/libsqlite3.dylib -lpthread -
lreadline -lm
/usr/bin/ld: Undefined symbols:
_tgetent
_tgetflag
_tgetnum
_tgetstr
_tputs
_tgoto
collect2: ld returned 1 exit status
gnumake: *** [sqlite3] Error 1
Error: The following dependencies failed to build: apache2 apr-
util sqlite3 pcre jpeg libmcrypt libpng libxml2 libxslt mhash
postgresql82 bison m4 tiff
Error: Status 1 encountered during processing.
Based on this message...
http://lists.macosforge.org/pipermail/macports-users/2007-April/
002604.html
...I believe readline is looking for those symbols in ncurses.
But why isn't it finding them? I don't know. The next message...
http://lists.macosforge.org/pipermail/macports-users/2007-April/
002605.html
...suggests rebuilding readline and ncurses. You could try that,
per the instructions in the message.
Before you do that, make sure your ports are up to date with
"sudo port selfupdate"
Another common cause of problems is libraries in /usr/local/lib.
Do you have anything in /usr/local? If so, move it out of the way
("sudo mv /usr/local /usr/local-off") and try again.
P.S: Please keep the discussion on the mailing list by using the
Reply All feature of your mail program when you reply.
Ok
i try that ;
sudo port selfupdate
MacPorts base version 1.600 installed
Downloaded MacPorts base version 1.600
The MacPorts installation is not outdated and so was not updated
selfupdate done!
sudo port clean --all readline ncurses
sudo port -f uninstall readline ncurses
sudo port install ncurses readline
Error: Target org.macports.activate returned: Image error: /opt/
local/include/ncurses/curses.h already exists and does not belong
to a registered port. Unable to activate port ncurses.
Error: Status 1 encountered during processing.
Ok, so same problem as you initially had with readline: the files
are already there, but MacPorts doesn't know about them. I wonder
how you managed to get your MacPorts into this state. No matter.
Just force the activation again.
sudo port -f activate ncurses
Not sure how many other ports you're going to run into this problem
with, but if you do, just force the activation.
ok i made :
sudo port -f activate ncurses
sudo port install ncurses readline
sudo port install php5 +postgresql +pear +apache2 +mysql5
apache2 had been installed but now i have :
Error: Target org.macports.build returned: shell command " cd "/opt/
local/var/macports/build/
_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphic
s_jpeg/work/jpeg-6b" && make all " returned error 2
Command output: ./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/
local/include -I. -c ./rdswitch.c
rm -f .libs/rdswitch.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdswitch.c -fno-
common -DPIC -o .libs/rdswitch.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./rdswitch.c -o
rdswitch.o >/dev/null 2>&1
mv -f .libs/rdswitch.lo rdswitch.lo
./libtool --mode=compile /usr/bin/gcc-4.0 -O2 -I/opt/local/include -
I. -c ./cdjpeg.c
rm -f .libs/cdjpeg.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./cdjpeg.c -fno-
common -DPIC -o .libs/cdjpeg.lo
/usr/bin/gcc-4.0 -O2 -I/opt/local/include -I. -c ./cdjpeg.c -o
cdjpeg.o >/dev/null 2>&1
mv -f .libs/cdjpeg.lo cdjpeg.lo
./libtool --mode=link /usr/bin/gcc-4.0 -L/opt/local/lib -o cjpeg
cjpeg.lo rdppm.lo rdgif.lo rdtarga.lo rdrle.lo rdbmp.lo rdswitch.lo
cdjpeg.lo libjpeg.la
/usr/bin/gcc-4.0 -L/opt/local/lib -o .libs/cjpeg cjpeg.o rdppm.o
rdgif.o rdtarga.o rdrle.o rdbmp.o rdswitch.o cdjpeg.o -L.libs -ljpeg
/usr/bin/ld: warning /opt/local/lib/libjpeg.dylib cputype (18,
architecture ppc) does not match cputype (7) for specified -arch
flag: i386 (file not loaded)
/usr/bin/ld: Undefined symbols:
_jpeg_CreateCompress
_jpeg_default_colorspace
_jpeg_destroy_compress
_jpeg_finish_compress
_jpeg_quality_scaling
_jpeg_set_colorspace
_jpeg_set_defaults
_jpeg_set_quality
_jpeg_simple_progression
_jpeg_start_compress
_jpeg_std_error
_jpeg_stdio_dest
_jpeg_write_scanlines
_jpeg_add_quant_table
collect2: ld returned 1 exit status
make: *** [cjpeg] Error 1
Error: The following dependencies failed to build: jpeg libmcrypt
libpng libxml2 libxslt mhash postgresql82 bison m4 tiff
Error: Status 1 encountered during processing.
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users