Le 20 juin 08 à 19:34, Brian Flaherty a écrit :
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-portfileDidn't work for me.There were several compiler flags in the Portfile. Did you get all those into the build environment?
Yes.
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/localWhen you did this, did configure find perl?
Yes.
If so, then I think that means there's something different between your shell environment andthe MacPort's build environment. One person suggested I check if any variables in macports.conf that could interfere (/opt/local/etc/macports/macports.conf on my system). If that's the case, is there some way to fully compare the two shell environments?
Sure : ___ $ envMANPATH=/sw/share/man:/usr/share/man:/usr/local/share/man:/usr/X11/ man:/sw/lib/perl5/5.8.8/man:/usr/X11R6/man:/usr/local/man:/opt/local/ share/man:/Users/ltp/share/man:/usr/local/man:/opt/local/share/man:/ var/root/share/man
SSH_AGENT_PID=478 TERM_PROGRAM=Apple_Terminal XDG_DATA_HOME=/var/root/.local/share GPG_AGENT_INFO=/tmp/gpg-KiBvXm/S.gpg-agent:554:1 SHELL=/bin/sh TERM=xterm-color Apple_PubSub_Socket_Render=/tmp/launch-yRb4nh/Render PERL5LIB=/sw/lib/perl5:/sw/lib/perl5/darwin TERM_PROGRAM_VERSION=240OLDPWD=/opt/local/var/macports/sources/rsync.macports.org/release/ ports/gnome/dia
QTDIR=/sw/lib/qt3 ac_cv_path_INTLTOOL_PERL=/usr/bin/perl LC_ALL=fr_FR.UTF-8 XAPPLRESDIR=/sw/etc/app-defaults/ CDPATH=.:~:/sw/share/doc: USER=dclauzel SGML_CATALOG_FILES=/sw/etc/sgml/catalog COMMAND_MODE=unix2003 GDK_USE_XFT=1 SSH_AUTH_SOCK=/tmp/ssh-6GdWrCQuFr/agent.465 __CF_USER_TEXT_ENCODING=0x0:0:1 KDEDIR=/sw GNOME_DISABLE_CRASH_DIALOG=1 PAGER=less XDG_CONFIG_DIRS=/sw/etc/xdgPATH=/Users/root/bin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/ Developer/Tools/:/Users/ltp/bin:/opt/local/bin:/opt/local/sbin:/usr/ local/bin:/Developer/Tools/:/opt/local/bin:/opt/local/sbin:/sw/bin:/sw/ sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/ X11R6/bin:.:.
XML_CATALOG_FILES=/sw/etc/xml/catalogPWD=/opt/local/var/macports/sources/rsync.macports.org/release/ports/ gnome/dia/work/dia-0.96.1
EDITOR=vim LANG=fr PS1=\! [\[\e[31;40;[EMAIL PROTECTED];40;2m\]\H\[\e[0m\]]\w $ HOME=/var/root SHLVL=2 XDG_CONFIG_HOME=/var/root/.config XDG_CACHE_HOME=/var/root/.cache LOGNAME=ltp LESS=I M qDBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus- IfsvLN5CeC,guid=a14bb16f1eef24975080ac00485a955e
XDG_DATA_DIRS=/sw/share LESSOPEN=|/sw/bin/lesspipe.sh %s BROWSER=lynx:w3m INFOPATH=/sw/share/info:/sw/info:/usr/share/info CVSEDITOR=/usr/bin/vim DISPLAY=:0 SECURITYSESSIONID=821630 G_BROKEN_FILENAMES=true _=/sw/bin/env ___I have no idea how to debug this quickly. Perl is installed from MacOS, from fink as a dependance and from macport as well. Each install is separated, but maybe macport is troubled when it look for it. Other software that depend on perl (apache and so) don't have this problem.
Damien Clauzel
PGP.sig
Description: This is a digitally signed message part
_______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
