View Full Version : DarwinPorts problems
unix mac
11-04-2005, 12:52 AM
I downloaded and installed the package and got /opt/local/bin setup in .tcshrc. and now I'm getting errors...
dyld: /usr/bin/tclsh can't open library: /usr/lib/libcurl.3.dylib...
Failed to initialize ports system, dyld: /usr/bin/tclsh can't open library: /usr/lib/libcurl.3.dylib (No such file or directory, errno = 2)
I'm sort of new to unix and I'm trying to figure out what goes where.
do I need to compile libraries for this or just redirect where it looks for them?
unix mac,
Are you in Mac OS X 10.3 and installed from the DarwinPorts 1.1 .dmg disk image file?
Someone at the Darwinports mailing list had the 'same' problem, he solved it by removing /opt/local, and installing DP from "source" instead of the .pkg package.
You can do the following:
sudo rm -rf /opt/local/
curl -o DarwinPorts-1.1.tar.gz
http://darwinports.org/downloads/DarwinPorts-1.1.tar.gz
tar zxvf DarwinPorts-1.1.tar.gz
cd DarwinPorts-1.1
./configure && make && sudo make install
sudo port selfupdate
"It seems that the dmg file is built only for Tiger, which has the library you're missing on Panther (which is not supposed to have it). They hope to have a Panther dmg up there real soon now".
.
unix mac
11-04-2005, 01:43 AM
that sounds logical.... doesn't suprise ne though i'll try that
thanks
unix mac
11-05-2005, 12:03 PM
Why start a new thread on an old problem right?
here goes...
DP -config, make, installed fine, selfupdate fine, portlist fine,
crul fine, extract, config, build, all ok
but
then it starts giving me directory errors, such as...
[DS:/opt/local/bin] drmom% sudo port install xdaliclock
Password:
---> Fetching xdaliclock
---> Attempting to fetch xdaliclock-2.20.tar.gz from http://www.jwz.org/xdaliclock/
---> Verifying checksum(s) for xdaliclock
---> Extracting xdaliclock
---> Configuring xdaliclock
---> Building xdaliclock with target all
---> Staging xdaliclock into destroot
Error: Target com.apple.destroot returned: shell command "cd "/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xdaliclock
/work/xdaliclock-2.20/X11" && make install install_prefix=/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xdaliclock/work/destroot"
returned error 2
Command output: /usr/bin/install -c xdaliclock
/opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xdaliclock
/work/destroot/opt/local/bin/xdaliclock
/usr/bin/install -c ./xdaliclock.man /opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xdaliclock
/work/destroot/opt/local/man/man1/xdaliclock.1
install: /opt/local/var/db/dports/build/
file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_xdaliclock
/work/destroot/opt/local/man/man1/xdaliclock.1: No such file or directory
make: *** [install-man] Error 71
two other files did the same thing...
It seems to me that it should install manpages into ${prefix}/share/man rather than ${prefix}/man. You could email the maintainer of the port or post the error in the darwinports mailing list.
.
There is normally a symlink at /opt/local/man that points to /opt/local/share/man. If it's not there on your system for whatever reason, you can create it:ln -s /opt/local/share/man /opt/local/man
garrett.reid@gma
11-16-2005, 03:04 PM
Hey everybody! I'm a new user, so I may be violating some rule or posting in the wrong place or something, so apologies in advance to the mods/admins who have to straighten me out :)
Anyway, I recently tried to install ethereal, and after reading online about fink vs darwinports, I chose darwinports. I installed darwinports, then ran 'sudo port install ethereal'. After it installed, I realized I forgot to install X11, so I installed X11 off the extras .mpkg on an image of the tiger install DVD. I then tried to run ethereal, but no luck...
I get the problem that sao described on the following page:
http://forums.macosxhints.com/showpost.php?p=207313&postcount=13
However, I've tried running 'sudo fc-cache' about a bajillion times, as my user, as sudo (like I'm supposed to), and even as root. However, nothing I do seems to have any effect, and I keep getting that annoying message:
No fonts found; this probably means that the fontconfig
library is not correctly configured. You may need to
edit the fonts.conf configuration file. More information
about fontconfig can be found in the fontconfig(3) manual
page and on http://fontconfig.org
Any chance any of you have an idea, or ran into this problem already?
Thanks!
garrett.reid@gma
11-17-2005, 05:30 AM
And the newb has struck again!
I'm back, and I have another question. I'm now trying to install etherape (using 'sudo port install etherape'), and that's not working right either. It starts looking bad when it gets to libgnomeui:
sudo port install etherape
Password:
---> Configuring libgnomeui
Error: Target com.apple.configure returned: configure failure: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_gnome_libgnomeui/work/libgnomeui-2.12.0" && CPPFLAGS="-L/opt/local/lib -I/opt/local/include" ./configure --prefix=/opt/local" returned error 1
Command output: checking for msgfmt... /opt/local/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for catalogs to be installed... af am ar az be bg bn br bs ca cs cy da de el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja kn ko ku li lt lv mi mk ml mn mr ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@ije sr@Latn sv ta te th tk tr uk vi wa xh yi zh_CN zh_TW zu
./configure: line 22498: GNOME_COMPILE_WARNINGS: command not found
./configure: line 22500: GNOME_DEBUG_CHECK: command not found
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for SmcSaveYourselfDone in -lSM... yes
checking X11/SM/SMlib.h usability... yes
checking X11/SM/SMlib.h presence... yes
checking for X11/SM/SMlib.h... yes
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SOUND_TEST... checking for jpeg_start_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for LIBGNOMEUI... configure: error: Package requirements ( libgnome-2.0 >= 2.0.0 libgnomecanvas-2.0 >= 2.0.0 libbonoboui-2.0 >= 2.0.0 gconf-2.0 >= 1.1.11 pango >= 1.1.2 gnome-vfs-2.0 >= 2.7.3 gnome-keyring-1 >= 0.4) were not met.
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively you may set the LIBGNOMEUI_CFLAGS and LIBGNOMEUI_LIBS environment variables
to avoid the need to call pkg-config. See the pkg-config man page for
more details.
Error: The following dependencies failed to build: libgnomeui
It says I can set the two environment variables, but I don't know what I should be setting them to (or if this is a workaround I really should be using... it seems that pkg-config is called by default, and may be a good thing... ;-))
So yeah. Any possible help would be greatly appreciated. Thanks!
Problem with libgnomeui:
http://www.opendarwin.org/pipermail/darwinports-bugs/2005-November/013882.html
Just for info, I recently compiled etherape-0.9.1-1 from fink unstable with no problems.
.
garrett.reid@gma
11-17-2005, 06:07 PM
Hmm... so no etherape without fink. :(
Do you or anyone else happen to have any insights on my x11 problem (http://forums.macosxhints.com/showpost.php?p=249080&postcount=7) from my previous post?
Thanks again!
garrett.reid@gma
11-23-2005, 07:10 PM
I'm not quite used to this forum yet, but on the one I'm familiar with, it would be time for a
*bump*
If you have an idea, or know of it as an issue, or something, I'd love to know :-)
I'm stuck on this (the X11 issue), and would LOVE any assistance that could be provided. Thanks!
Garrett,
Maybe you try copying the /etc/fonts directory to /opt/local/etc/fonts?
Or run:
sudo port -d selfupdate
to update darwinports, and then reinstall ethereal.
.
garrett.reid@gma
11-25-2005, 05:10 PM
Thank you, sao!
bash$ sudo cp -R /etc/fonts /opt/local/etc/fonts/
bash$ sudo fc-cache
It worked like a charm, and I got ethereal working now. :D
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.