well, I have installed all the dependencies except subversion; it gives me the following errors:

juan-miguel-ramirezs-imac-g5:~/glib yomizmo$ sudo port install subversion--->  Building db44 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_databases_db44/work/db-4.4.20/build_unix" && make all " returned error 2
Command output: /bin/sh ./libtool --mode=compile /usr/bin/gcc-4.0 -c -O2  -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c
 /usr/bin/gcc-4.0 -c -O2 -I../dist/.. -I/opt/local/include ../dist/../db_dump185/db_dump185.c  -fno-common -DPIC -o .libs/db_dump185.o
../dist/../db_dump185/db_dump185.c: In function 'main':
../dist/../db_dump185/db_dump185.c:212: warning: assignment makes pointer from integer without a cast
../dist/../db_dump185/db_dump185.c:214: warning: assignment makes pointer from integer without a cast
../dist/../db_dump185/db_dump185.c:229: error: 'struct __db' has no member named 'seq'
../dist/../db_dump185/db_dump185.c:229: error: 'R_NEXT' undeclared (first use in this function)
../dist/../db_dump185/db_dump185.c:229: error: (Each undeclared identifier is reported only once
../dist/../db_dump185/db_dump185.c:229: error: for each function it appears in.)
../dist/../db_dump185/db_dump185.c:234: error: 'struct __db' has no member named 'seq'
../dist/../db_dump185/db_dump185.c: In function 'db_hash':
../dist/../db_dump185/db_dump185.c:262: error: 'struct __db' has no member named 'internal'
../dist/../db_dump185/db_dump185.c:264: error: 'struct __db' has no member named 'internal'
../dist/../db_dump185/db_dump185.c: In function 'db_btree':
../dist/../db_dump185/db_dump185.c:289: error: 'struct __db' has no member named 'internal'
make: *** [db_dump185.lo] Error 1

Error: The following dependencies failed to build: apr-util db44 sqlite3 gawk readline ncurses ncursesw
Error: Status 1 encountered during processing.


Anyway, subversion is not necessary to compile inkscape, isn't it? I use svnX to access the repository so i think I can skip the installation of subversion via macports, what do you think?



On 21/12/2007, jiho <jo.irisson@...400...> wrote:
Well you're really unlucky, it seems that MacPorts is not in a perfect
shape right now. However, I think all you need to solve this is
correctly put in the error message:

On 2007-December-21  , at 20:21 , Juan Miguel Ramirez wrote:
> --->  Staging p5-pathtools into destroot
> You must install or activate this package with '-f' (force) as it
> needs to overwrite files installed by the perl5.8 port
> --->  Installing p5-pathtools 3.25_0
> --->  Activating p5-pathtools 3.25_0
> Error: Target org.macports.activate returned: Image error: /opt/
> local/lib/perl5/5.8.8/darwin-2level/auto/Cwd/Cwd.bs is being used by
> the active perl5.8 port.  Please deactivate this port first, or use
> the -f flag to force the activation.

You must force the activation of this port because it apparently needs
to oversrite some files installed previously by perl 5.8, so:
        sudo port -f activate p5-pathtools

On a more general note, it may seem strange to have to install perl to
finally get inkscape. This is due to MacPorts policy of:
- not using stock installs of programs on OS X (hence to not use the
stock install of perl)
- to provide as much as possible with each port (which means that gtk
pull gtk-doc which in turn pulls perl)
Well that's their choice. The first one is probably justified since
perl's version on OS X is quite quite old for example. I wish they
provided more options for the second case, especially through the use
of those so clever variants... but nothing is perfect of course.

Good luck.

JiHO
---
http://jo.irisson.free.fr/