[dia] cannot compile : configure: error: perl not found; required for intltool

Damien Clauzel Damien at Clauzel.nom.fr
Fri Jun 20 09:23:33 PDT 2008


Le 20 juin 08 à 17:46, Brian Flaherty a écrit :

>>  perl is present, but configure fails. Any idea on how to solve  
>> this ?
>
> This looks a lot like problems I was having on my laptop.  If you go
> to the dia directory (cd `port dir dia`, I think) and look at the
> config.log.  What are the paths?  In my case, PREFIX was not being
> handled correctly and appeared in the config.log.  My guess is that it
> should have been /opt/local/.
I am attaching the log file for full reference (/opt/local/var/ 
macports/sources/rsync.macports.org/release/ports/gnome/dia/work/ 
dia-0.96.1/config.log)



> One thing I did just to get things installed, was to do it by hand.
> This is my recollection of how:
>
> - change to the work directory for dia
> - look at the Portfile for dia to see if there are any configure
>  arguments  (I just looked at it and there are a fair number of
>  arguments and I don't know where they all go.  Also, there's a patch
>  file to apply, and I'm not sure I know how to do that by hand.)
> - run sudo ./configure --configure-args-from-portfile
Didn't work for me.
But I can successfully do this :
___
/opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/ 
dia/work/dia-0.96.1 $ ./configure --prefix=/opt/local

[SNIP]

Configuration:
	Source code location:	.
	Compiler:		gcc

	Gnome support:				no
	Python support:				no
	Libart support (PNG export):		yes
	Cairo support (experimental):		no
	Gnome Print support (experimental):	no

Now type make to build dia...

___

Then the compilation fails near the end :
___
Making all in po
/opt/local/var/macports/sources/rsync.macports.org/release/ports/gnome/ 
dia/work/dia-0.96.1/po
file=`echo am | sed 's,.*/,,'`.gmo \
	  && rm -f $file &&  -o $file am.po
/bin/sh: -o: command not found
make[2]: *** [am.gmo] Error 127
make[1]: *** [all-recursiv
___

Obviously, a variable is missing.

Damien

-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 45790 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080620/acee3729/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080620/acee3729/attachment.sig 


More information about the macports-users mailing list