Re: Building cairomm (inkscape dependency) fails

2008-04-19 Thread Jason Merrill
On Sat, Apr 19, 2008 at 1:51 AM, Guido Soranzio
[EMAIL PROTECTED] wrote:
 On Apr 18, 2008, at 11:03 PM, Jason Merrill wrote:

  I have committed a new revision of cairomm-1.6 which does the
  reverse and redefine Status before including the Carbon headers:
  http://trac.macports.org/projects/macports/changeset/36132.
  Could you please test it?

The install went through, and I'm now drawing in Inkscape.  Awesome.
Thanks so much for your help.

  There is still a problem with Inkscape 0.46, though: the Python
  plugins require a python interpreter in your $PATH which should
  link to MacPorts' own python2.5.

  With Inkscape 0.45 a simple patch enforced Inkscape to use directly
  ${prefix}/bin/python2.5 but it doesn't seem to work anymore
  so the new live effects don't work without the trick above.

  -Guido

As you suggest, the live effects aren't working, giving a warning
about wanting lxml[1].  I don't quite get the trick though.  My path
already includes /opt/local/bin, where phython2.5 lives.  Should I
have to specify something else?  I tried running

bash-3.2$ export PATH=/opt/local/bin/phython2.5:$PATH
bash-3.2$ inkscape

just to see, but I get the same error when trying to use live effects.
 And lxml is definitely installed.

jmerrill:bin jm843$ port installed | grep lxml
  py25-lxml @2.0.4_0 (active)

Can you be more explicit about what I need to do?

And a somewhat tangential question: The reason I wanted to install
Inkscape with Macports instead of the binary is that I really want to
get TexText going, and it wasn't working with the binary install.  It
complains about needing py-xml, even though py25-xml is already
installed.  TexText had previously worked with a Macports install of
inkscape 0.45.  Any advice on this one?

[1] The fantastic lxml wrapper for libxml2 is required by inkex.py and
therefore this extension. Please download and install the latest
version from http://cheeseshop.python.org/pypi/lxml/, or install it
through your package manager by a command like: sudo apt-get install
python-lxml
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Building cairomm (inkscape dependency) fails

2008-04-19 Thread Guido Soranzio

On Apr 19, 2008, at 4:34 PM, Jason Merrill wrote:


Can you be more explicit about what I need to do?


It should suffice creating a link:

sudo ln -s /opt/local/bin/python2.5 /opt/local/bin/python



It complains about needing py-xml, even though py25-xml is already
installed.  TexText had previously worked with a Macports install of
inkscape 0.45.  Any advice on this one?



That's because Inkscape 0.46 is executing python and it launches
the one provided by Apple in /usr/bin.


-Guido


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


Re: Building cairomm (inkscape dependency) fails

2008-04-19 Thread Jason Merrill
On Sat, Apr 19, 2008 at 11:26 AM, Guido Soranzio
[EMAIL PROTECTED] wrote:
 On Apr 19, 2008, at 4:34 PM, Jason Merrill wrote:


  Can you be more explicit about what I need to do?
 

  It should suffice creating a link:

  sudo ln -s /opt/local/bin/python2.5 /opt/local/bin/python




  It complains about needing py-xml, even though py25-xml is already
  installed.  TexText had previously worked with a Macports install of
  inkscape 0.45.  Any advice on this one?
 


  That's because Inkscape 0.46 is executing python and it launches
  the one provided by Apple in /usr/bin.


  -Guido

That did the trick.  The only other thing I had to do was install
pdf2svg through macports to get the textext extension working.  For
some reason, it wasn't happy with the pdf2svg I had previously
installed in /usr/local/bin

Thanks again for all your help.

Regards,

JM
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


gcc42 hangs

2008-04-19 Thread Craig Niederberger
Hi Gurus,

sudo port install gcc42

is hanging on a MacBook Air, Leopard 10.5.2

It's been about 3 hours, and Building gcc42 with target all is stuck on the
screen.

Any suggestions?

Many TIA,
Craig
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


gcc42 hangs

2008-04-19 Thread Craig Niederberger
Ironically, it finally errored out immediately after I sent the last post.
Can anyone help figure out what's going on here?  What's a Bootstrap
comparison failure?  Any ideas how to get gcc42 to install?

Many TIA,
Craig

---  Building gcc42 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_lang_gcc42/work/build
 make all  returned error 2
Command output: make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc CC_FOR_BUILD=/usr/bin/gcc-4.0 CFLAGS=-g
-fkeep-inline-functions CXXFLAGS=-O2 CFLAGS_FOR_BUILD=-O2
CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/bin/install
INSTALL_DATA=/usr/bin/install -m 644 INSTALL_PROGRAM=/usr/bin/install
INSTALL_SCRIPT=/usr/bin/install LDFLAGS= LIBCFLAGS=-g
-fkeep-inline-functions LIBCFLAGS_FOR_TARGET=-O2 -O2  MAKE=make
MAKEINFO=makeinfo --split-size=500 --split-size=500
--split-size=500  PICFLAG= PICFLAG_FOR_TARGET= SHELL=/bin/sh
EXPECT=expect RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2 AR=ar
AS=as CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0
LD=/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld LIBCFLAGS=-g
-fkeep-inline-functions NM=nm PICFLAG= RANLIB=ranlib DESTDIR=
DO=all multi-do # make
make[3]: Nothing to be done for `all'.
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc
CC_FOR_BUILD=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/
-B/opt/local/i386-apple-darwin9.2.2/bin/ CFLAGS=-O2 -g
-fomit-frame-pointer CXXFLAGS=-O2 CFLAGS_FOR_BUILD=-O2
CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/bin/install
INSTALL_DATA=/usr/bin/install -m 644 INSTALL_PROGRAM=/usr/bin/install
INSTALL_SCRIPT=/usr/bin/install LDFLAGS= LIBCFLAGS=-O2 -g
-fomit-frame-pointer LIBCFLAGS_FOR_TARGET=-O2 -O2  MAKE=make
MAKEINFO=makeinfo --split-size=500 --split-size=500
--split-size=500  PICFLAG= PICFLAG_FOR_TARGET= SHELL=/bin/sh
EXPECT=expect RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2 AR=ar
AS=as
CC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/
-B/opt/local/i386-apple-darwin9.2.2/bin/ CXX=/usr/bin/g++-4.0
LD=/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld LIBCFLAGS=-O2 -g
-fomit-frame-pointer NM=nm PICFLAG= RANLIB=ranlib DESTDIR= DO=all
multi-do # make
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc
CC_FOR_BUILD=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/
-B/opt/local/i386-apple-darwin9.2.2/bin/ CFLAGS=-O2 -g
-fomit-frame-pointer CXXFLAGS=-O2 CFLAGS_FOR_BUILD=-O2
CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/bin/install
INSTALL_DATA=/usr/bin/install -m 644 INSTALL_PROGRAM=/usr/bin/install
INSTALL_SCRIPT=/usr/bin/install LDFLAGS= LIBCFLAGS=-O2 -g
-fomit-frame-pointer LIBCFLAGS_FOR_TARGET=-O2 -O2  MAKE=make
MAKEINFO=makeinfo --split-size=500 --split-size=500
--split-size=500  PICFLAG= PICFLAG_FOR_TARGET= SHELL=/bin/sh
EXPECT=expect RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2 AR=ar
AS=as
CC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/xgcc
-B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_gcc42/work/build/./prev-gcc/
-B/opt/local/i386-apple-darwin9.2.2/bin/ CXX=/usr/bin/g++-4.0
LD=/usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld LIBCFLAGS=-O2 -g
-fomit-frame-pointer NM=nm PICFLAG= RANLIB=ranlib DESTDIR= DO=all
multi-do # make
make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make DESTDIR= RPATH_ENVVAR=DYLD_LIBRARY_PATH

Re: gcc42 hangs

2008-04-19 Thread Ryan Schmidt

On Apr 19, 2008, at 1:06 PM, Craig Niederberger wrote:


sudo port install gcc42

is hanging on a MacBook Air, Leopard 10.5.2

It's been about 3 hours, and Building gcc42 with target all is  
stuck on the screen.



On Apr 19, 2008, at 1:13 PM, Craig Niederberger wrote:

Ironically, it finally errored out immediately after I sent the  
last post.  Can anyone help figure out what's going on here?   
What's a Bootstrap comparison failure?  Any ideas how to get  
gcc42 to install?


Many TIA,
Craig

---  Building gcc42 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_lang_ 
gcc42/work/build  make all  returned error 2

Command output: make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc CC_FOR_BUILD=/usr/bin/gcc-4.0 CFLAGS=-g - 
fkeep-inline-functions CXXFLAGS=-O2 CFLAGS_FOR_BUILD=-O2  
CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/bin/install  
INSTALL_DATA=/usr/bin/install -m 644 INSTALL_PROGRAM=/usr/bin/ 
install INSTALL_SCRIPT=/usr/bin/install LDFLAGS= LIBCFLAGS=-g  
-fkeep-inline-functions LIBCFLAGS_FOR_TARGET=-O2 -O2   
MAKE=make MAKEINFO=makeinfo --split-size=500 --split- 
size=500 --split-size=500  PICFLAG=  
PICFLAG_FOR_TARGET= SHELL=/bin/sh EXPECT=expect  
RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local  
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42  
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2  
AR=ar AS=as CC=/usr/bin/gcc-4.0 CXX=/usr/bin/g++-4.0 LD=/ 
usr/libexec/gcc/i686-apple-darwin9/4.0.1/ld LIBCFLAGS=-g -fkeep- 
inline-functions NM=nm PICFLAG= RANLIB=ranlib DESTDIR=  
DO=all multi-do # make

make[3]: Nothing to be done for `all'.
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc CC_FOR_BUILD=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
bin/ CFLAGS=-O2 -g -fomit-frame-pointer CXXFLAGS=-O2  
CFLAGS_FOR_BUILD=-O2 CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/ 
bin/install INSTALL_DATA=/usr/bin/install -m 644  
INSTALL_PROGRAM=/usr/bin/install INSTALL_SCRIPT=/usr/bin/ 
install LDFLAGS= LIBCFLAGS=-O2 -g -fomit-frame-pointer  
LIBCFLAGS_FOR_TARGET=-O2 -O2  MAKE=make MAKEINFO=makeinfo -- 
split-size=500 --split-size=500 --split-size=500   
PICFLAG= PICFLAG_FOR_TARGET= SHELL=/bin/sh EXPECT=expect  
RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local  
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42  
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2  
AR=ar AS=as CC=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
bin/ CXX=/usr/bin/g++-4.0 LD=/usr/libexec/gcc/i686-apple- 
darwin9/4.0.1/ld LIBCFLAGS=-O2 -g -fomit-frame-pointer NM=nm  
PICFLAG= RANLIB=ranlib DESTDIR= DO=all multi-do # make

make[3]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
rm -f stage_current
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
make[4]: Nothing to be done for `all'.
make[3]: Nothing to be done for `all'.
true AR_FLAGS=rc CC_FOR_BUILD=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/ -B/opt/local/i386-apple-darwin9.2.2/ 
bin/ CFLAGS=-O2 -g -fomit-frame-pointer CXXFLAGS=-O2  
CFLAGS_FOR_BUILD=-O2 CFLAGS_FOR_TARGET=-O2 -O2  INSTALL=/usr/ 
bin/install INSTALL_DATA=/usr/bin/install -m 644  
INSTALL_PROGRAM=/usr/bin/install INSTALL_SCRIPT=/usr/bin/ 
install LDFLAGS= LIBCFLAGS=-O2 -g -fomit-frame-pointer  
LIBCFLAGS_FOR_TARGET=-O2 -O2  MAKE=make MAKEINFO=makeinfo -- 
split-size=500 --split-size=500 --split-size=500   
PICFLAG= PICFLAG_FOR_TARGET= SHELL=/bin/sh EXPECT=expect  
RUNTEST=runtest RUNTESTFLAGS= exec_prefix=/opt/local  
infodir=/opt/local/share/info libdir=/opt/local/lib/gcc42  
prefix=/opt/local tooldir=/opt/local/i386-apple-darwin9.2.2  
AR=ar AS=as CC=/opt/local/var/macports/build/ 
_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_ 
gcc42/work/build/./prev-gcc/xgcc -B/opt/local/var/macports/build/