Re: gconf for firefox-x11 build problem

2007-07-11 Thread Joshua MacFie


On Jul 10, 2007, at 4:41 PM, Ryan Schmidt wrote:


On Jul 10, 2007, at 16:27, Joshua MacFie wrote:


On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:


On Jul 9, 2007, at 14:47, Joshua MacFie wrote:


Or should I try to reinstall libgtk-x11-2.0.dylib


By all means, reinstall it, if you know what port provides it.  
Perhaps the gtk2 port provides it. I'm not sure because I don't  
have any libgtk-x11-2.0.dylib and I don't use gtk.


Ok so this question is going to sound lame but can I just type

port reinstall gtk2

in order to reinstall?


man port will show you that there is no reinstall command.  
However, you can reinstall by typing:


sudo port -ncuf upgrade gtk2

n: not the dependencies; just this port
c: clean it afterwards
u: uninstall the old version afterwards
f: force the upgrade
Cool that worked for that package but now I get the same thing w/  
these two


/usr/bin/libtool: can't map file: /opt/local/lib//libssl.dylib ((os/ 
kern) invalid argument)
/usr/bin/libtool: can't map file: /opt/local/lib//libcrypto.dylib  
((os/kern) invalid argument)

make[1]: *** [libneon.la] Error 1
make: *** [subdirs] Error 2

How can I tell what ports I need to reinstall for those?

Josh

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


Re: gconf for firefox-x11 build problem

2007-07-10 Thread Joshua MacFie


On Jul 10, 2007, at 4:04 PM, Chris Pickel wrote:


On 10 Jul, 2007, at 16:54, Ryan Schmidt wrote:

On Jul 9, 2007, at 14:47, Joshua MacFie wrote:

joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib
lrwxr-xr-x   1 root  admin  0 Jul  9 04:20 /opt/local/lib/libgtk- 
x11-2.0.dylib -


Does this mean it pints to itself?


No, if it pointed to itself it would say /opt/local/lib/libgtk- 
x11-2.0.dylib - libgtk-x11-2.0.dylib


Are you sure there's nothing after the - ? Nothing continued on  
the second line for example? I've never seen a symlink that  
pointed to nothing. I don't even know how to create such a thing.



and the second

joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib
/opt/local/lib/libgtk-x11-2.0.dylib is a directory.

Does not give me a port name just says its a directory.


That's peculiar.


Courtesy of my system:

[sauvagine%] ls -l /opt/local/lib/libgtk-x11-2.0.dylib
lrwxr-xr-x   1 root  admin  30 Jul  5 13:16 /opt/local/lib/libgtk- 
x11-2.0.dylib@ - libgtk-x11-2.0.0.1000.13.dylib

[sauvagine%] port provides /opt/local/lib/libgtk-x11-2.0.dylib
/opt/local/lib/libgtk-x11-2.0.dylib is provided by: gtk2


A symbolic link could be created to whitespace, although the fact  
that the file is reported as having 0 size would indicate to me  
that the file really is pointing to an empty string.



Chris
Thats an actual copy and paste from my term window. I have no Idea  
why or how this happened. I just reinstalled macports and have tried  
updating so I know its fresh. I have only installed fluxbox so far.


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


Re: gconf for firefox-x11 build problem

2007-07-10 Thread Joshua MacFie


On Jul 10, 2007, at 3:54 PM, Ryan Schmidt wrote:


On Jul 9, 2007, at 14:47, Joshua MacFie wrote:


On Jul 9, 2007, at 10:51 AM, Ryan Schmidt wrote:


On Jul 9, 2007, at 09:59, Joshua MacFie wrote:


On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:


On Jul 9, 2007, at 05:16, Joshua MacFie wrote:

/usr/bin/ld: can't map file: /opt/local/lib/libgtk- 
x11-2.0.dylib ((os/kern) invalid argument)


Does that file exist, are its permissions ok and is it of the  
correct architecture for your computer? Try:


file /opt/local/lib/libgtk-x11-2.0.dylib

and see what it says. Try also:

otool -L /opt/local/lib/libgtk-x11-2.0.dylib


Thank you very much for your help.

The first says

/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/ 
local/lib/libgtk-x11-2.0.dylib' (No such file or directory)


The second

otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ 
kern) invalid argument)


Sorry I'm sorta new to the Unix environment. Is the sym link  
break what's causing this? If so how do I fix it?


So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but  
is merely a symlink pointing to something that doesn't exist.  
That would certainly explain why ld couldn't access it, and why  
your compile didn't complete.


One good piece of information would be to know where the symlink  
is pointing:


ls -l /opt/local/lib/libgtk-x11-2.0.dylib

Another would be which port provided that broken symlink:

port provides /opt/local/lib/libgtk-x11-2.0.dylib

Whatever port it identifies, try reinstalling it (sudo port -ncuf  
upgrade theportname) -- after selfupdating to make sure you have  
the latest MacPorts and ports tree (sudo port selfupdate). If,  
after reinstalling the latest version of that port, you still  
have a broken symlink, you may need to contact the port's  
maintainer (port info theportname).


Ok so here's the first

joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib
lrwxr-xr-x   1 root  admin  0 Jul  9 04:20 /opt/local/lib/libgtk- 
x11-2.0.dylib -


Does this mean it pints to itself?


No, if it pointed to itself it would say /opt/local/lib/libgtk- 
x11-2.0.dylib - libgtk-x11-2.0.dylib


Are you sure there's nothing after the - ? Nothing continued on  
the second line for example? I've never seen a symlink that pointed  
to nothing. I don't even know how to create such a thing.



and the second

joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib
/opt/local/lib/libgtk-x11-2.0.dylib is a directory.

Does not give me a port name just says its a directory.


That's peculiar.


Or should I try to reinstall libgtk-x11-2.0.dylib


By all means, reinstall it, if you know what port provides it.  
Perhaps the gtk2 port provides it. I'm not sure because I don't  
have any libgtk-x11-2.0.dylib and I don't use gtk.



Ok so this question is going to sound lame but can I just type

port reinstall gtk2

in order to reinstall?
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo/macports-users


gconf for firefox-x11 build problem

2007-07-09 Thread Joshua MacFie

Hello

I am on a mac os x 10.4.10. running X11 with fluxbox and having  
nothing but trouble trying to install firefox-x11. I have got the  
first few problems figured out using the archives and such but cant  
find much on this. Here is what it does and says:


---  Configuring gconf
---  Building gconf with target all
Error: Target com.apple.build returned: shell command  cd /opt/ 
local/var/db/dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_gnome_gconf/work/GConf-2.18.0.1  make all  returned error 2
Command output: gconftool.c:3645: warning: pointer targets in passing  
argument 2 of 'xmlGetProp' differ in signedness
gconftool.c:3645: warning: pointer targets in assignment differ in  
signedness
gconftool.c:3651: warning: pointer targets in passing argument 1 of  
'strcmp' differ in signedness
gconftool.c:3653: warning: pointer targets in passing argument 1 of  
'strcmp' differ in signedness

gconftool.c: In function 'do_load_file':
gconftool.c:3705: warning: pointer targets in passing argument 1 of  
'strcmp' differ in signedness
gconftool.c:3731: warning: pointer targets in passing argument 1 of  
'strcmp' differ in signedness

mv -f .deps/gconftool.Tpo .deps/gconftool.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -O2 -Wall  -L/opt/ 
local/lib -o gconftool-2 gconftool.o  -lintl  -L/opt/local/lib - 
lORBit-2 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lglib-2.0 -lintl - 
lxml2 -lpthread -lz -liconv -lm   libgconf-2.la
gcc -O2 -Wall -o .libs/gconftool-2 gconftool.o  -L/opt/local/lib /opt/ 
local/lib/libxml2.dylib -lpthread -lz ./.libs/libgconf-2.dylib /opt/ 
local/lib/libORBit-2.dylib -lresolv -lm /opt/local/lib/ 
libgmodule-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/ 
lib/libgobject-2.0.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/ 
lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib
/usr/bin/ld: warning prebinding disabled because dependent library: / 
opt/local/lib/libxml2.2.dylib is not prebound

creating gconftool-2
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DORBIT2=1 -D_REENTRANT - 
DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ 
include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/ 
local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/ 
include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/ 
pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/ 
libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2   - 
DG_LOG_DOMAIN=\GConf\ -DPREFIX=\/opt/local\ -DGCONF_LOCALE_DIR= 
\/opt/local/share/locale\ -DGCONF_SRCDIR=\/opt/local/var/db/ 
dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_gnome_gconf/work/GConf-2.18.0.1\ -DGCONF_CONFDIR=\/opt/local/ 
etc/gconf/2\ -DGCONF_ETCDIR=\/opt/local/etc/gconf\ - 
DGCONF_BINDIR=\/opt/local/bin\ -DGCONF_SERVERDIR=\/opt/local/ 
libexec\ -DGCONF_BUILDDIR=\..\ -DGCONF_BACKEND_DIR=\/opt/ 
local/lib/GConf/2\ -DVERSION=\2.18.0.1\ - 
DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\gconfd-2\   -I/opt/local/ 
include -L/opt/local/lib -I/opt/local/include  -O2 -Wall -MT gconf- 
database.o -MD -MP -MF .deps/gconf-database.Tpo -c -o gconf- 
database.o gconf-database.c

mv -f .deps/gconf-database.Tpo .deps/gconf-database.Po
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -DORBIT2=1 -D_REENTRANT - 
DXTHREADS -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/ 
include -I/opt/local/include -I/opt/local/include/orbit-2.0 -I/opt/ 
local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/ 
include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/ 
pango-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/ 
libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2   - 
DG_LOG_DOMAIN=\GConf\ -DPREFIX=\/opt/local\ -DGCONF_LOCALE_DIR= 
\/opt/local/share/locale\ -DGCONF_SRCDIR=\/opt/local/var/db/ 
dports/build/ 
_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dp 
orts_gnome_gconf/work/GConf-2.18.0.1\ -DGCONF_CONFDIR=\/opt/local/ 
etc/gconf/2\ -DGCONF_ETCDIR=\/opt/local/etc/gconf\ - 
DGCONF_BINDIR=\/opt/local/bin\ -DGCONF_SERVERDIR=\/opt/local/ 
libexec\ -DGCONF_BUILDDIR=\..\ -DGCONF_BACKEND_DIR=\/opt/ 
local/lib/GConf/2\ -DVERSION=\2.18.0.1\ - 
DGCONF_ENABLE_INTERNALS=1 -DGCONFD=\gconfd-2\   -I/opt/local/ 
include -L/opt/local/lib -I/opt/local/include  -O2 -Wall -MT gconfd.o  
-MD -MP -MF .deps/gconfd.Tpo -c -o gconfd.o gconfd.c

mv -f .deps/gconfd.Tpo .deps/gconfd.Po
/bin/sh ../libtool --tag=CC   --mode=link gcc  -O2 -Wall  -L/opt/ 
local/lib -o gconfd-2 gconf-database.o gconfd.o  -lintl  -L/opt/local/ 
lib -lORBit-2 -lm -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 - 
lglib-2.0 -lintl -liconv   libgconf-2.la
gcc -O2 -Wall -o .libs/gconfd-2 gconf-database.o gconfd.o  -L/opt/ 
local/lib ./.libs/libgconf-2.dylib /opt/local/lib/libORBit-2.dylib - 
lresolv -lm /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/ 
libgthread-2.0.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/ 

Re: gconf for firefox-x11 build problem

2007-07-09 Thread Joshua MacFie


On Jul 9, 2007, at 10:51 AM, Ryan Schmidt wrote:


On Jul 9, 2007, at 09:59, Joshua MacFie wrote:


On Jul 9, 2007, at 9:05 AM, Ryan Schmidt wrote:


On Jul 9, 2007, at 05:16, Joshua MacFie wrote:

/usr/bin/ld: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib  
((os/kern) invalid argument)


Does that file exist, are its permissions ok and is it of the  
correct architecture for your computer? Try:


file /opt/local/lib/libgtk-x11-2.0.dylib

and see what it says. Try also:

otool -L /opt/local/lib/libgtk-x11-2.0.dylib


Thank you very much for your help.

The first says

/opt/local/lib/libgtk-x11-2.0.dylib: unreadable symlink `/opt/ 
local/lib/libgtk-x11-2.0.dylib' (No such file or directory)


The second

otool: can't map file: /opt/local/lib/libgtk-x11-2.0.dylib ((os/ 
kern) invalid argument)


Sorry I'm sorta new to the Unix environment. Is the sym link break  
what's causing this? If so how do I fix it?


So it looks like /opt/local/lib/libgtk-x11-2.0.dylib exists but is  
merely a symlink pointing to something that doesn't exist. That  
would certainly explain why ld couldn't access it, and why your  
compile didn't complete.


One good piece of information would be to know where the symlink is  
pointing:


ls -l /opt/local/lib/libgtk-x11-2.0.dylib

Another would be which port provided that broken symlink:

port provides /opt/local/lib/libgtk-x11-2.0.dylib

Whatever port it identifies, try reinstalling it (sudo port -ncuf  
upgrade theportname) -- after selfupdating to make sure you have  
the latest MacPorts and ports tree (sudo port selfupdate). If,  
after reinstalling the latest version of that port, you still have  
a broken symlink, you may need to contact the port's maintainer  
(port info theportname).




Ok so here's the first

joshuamacfie$ ls -l /opt/local/lib/libgtk-x11-2.0.dylib
lrwxr-xr-x   1 root  admin  0 Jul  9 04:20 /opt/local/lib/libgtk- 
x11-2.0.dylib -


Does this mean it pints to itself?

and the second

joshuamacfie$ port provides /opt/local/lib/libgtk-x11-2.0.dylib
/opt/local/lib/libgtk-x11-2.0.dylib is a directory.

Does not give me a port name just says its a directory. Or should I  
try to reinstall libgtk-x11-2.0.dylib

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