Hi, My problem started with the graphics program "xfig". It would crash every time I tried to open a file. So I wanted to reinstall it, and tried to remove all its files by hand. I'm sure this was a bad idea, but I didn't know there was an "uninstall" command. When I tried to install xfig again, Macports kept giving error messages about some file already existing and not belonging to a registered port. Each time, I removed the file by hand. Finally, I did "sudo port -f uninstall xfig", and there was no message at all. Then I reinstalled xfig. That seemed to work. To be certain, I did "sudo port -d upgrade xfig" and got "No need to upgrade!" However, when I try to use xfig, I get this message: dyld: Library not loaded: /usr/X11R6/lib/libXaw3d.7.dylib Referenced from: /opt/local/bin/xfig Reason: image not found Trace/BPT trap Maybe I deleted necessary files while I was messing around? The program opened OK before I did all this (it just crashed afterwards). How do I get the missing files installed? (I'm running OS X 10.4.10 on a MacBook Pro). Thanks, Hermann -- View this message in context: http://www.nabble.com/Installing-xfig%3A-%22Library-not-loaded%22-tf4299470.... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Aug 20, 2007, at 21:00, Hermann Flaschka wrote:
My problem started with the graphics program "xfig". It would crash every time I tried to open a file. So I wanted to reinstall it, and tried to remove all its files by hand. I'm sure this was a bad idea, but I didn't know there was an "uninstall" command. When I tried to install xfig again, Macports kept giving error messages about some file already existing and not belonging to a registered port. Each time, I removed the file by hand. Finally, I did "sudo port -f uninstall xfig", and there was no message at all. Then I reinstalled xfig. That seemed to work. To be certain, I did "sudo port -d upgrade xfig" and got "No need to upgrade!"
However, when I try to use xfig, I get this message:
dyld: Library not loaded: /usr/X11R6/lib/libXaw3d.7.dylib Referenced from: /opt/local/bin/xfig Reason: image not found Trace/BPT trap
Maybe I deleted necessary files while I was messing around? The program opened OK before I did all this (it just crashed afterwards). How do I get the missing files installed? (I'm running OS X 10.4.10 on a MacBook Pro).
I see that xfig depends on Xaw3d, and Xaw3d provides libXaw3d. 7.dylib, but in /opt/local/lib/, not in /usr/X11R6/lib. I just tried to install and run xfig just now, and it seemed to be ok. (Well, it crashed when I clicked the File menu, but that's different from referencing a nonexistent library.) Do you have a /usr/X11R6/lib/libXaw3d.7.dylib on your system? I don't on mine. I recommend you uninstall and clean xfig, and maybe do the same for Xaw3d, and then reinstall xfig.
Greetings All, Just for my own curiosity, I'm attempting to build the Grass GIS software as a macports package. Been putzing along, installing all the needed dependencies. I've created a local repository, for updated versions of geos, gdal, ...etc. Before attempting to build grass itself, I've run into a couple of minor problems. Several of the gdal modules have restricted access. So, I just can't set up a master_sites directive in the modified portfile. It appears that I'll have to download the .gz file and store them locally on my machine. The obvious directory would be "/opt/local/src", but the question then becomes. can the master_sites directive take a "files:///opt/local/src" as an argument? The PortStyle man page has entries for fetch, advanced fetch, cvs & subversion techniques, but nothing, that I noticed for local files. Am I missing something? There are entries for fetch.user and fetch.password for http & ftp access and I haven't explored them yet, since I'm more interested in building the software first. Any pointers would be appreciated. Thanks, Jeff
On Aug 21, 2007, at 9:58 AM, Jeff Stubbs wrote:
Several of the gdal modules have restricted access. So, I just can't set up a master_sites directive in the modified portfile. It appears that I'll have to download the .gz file and store them locally on my machine. The obvious directory would be "/opt/local/ src", but the question then becomes. can the master_sites directive take a "files:///opt/local/src" as an argument?
If you move the file into the appropriate distfiles sub-directory (sub-directory of /opt/local/var/macports/distfiles/ by default), macports won't try to download it (because it's already been downloaded). -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+
My xfig also always crashed when I clicked on the file menu, that's why I un- and re-installed. It sounds like this is an actual xfig bug. I have some libXaw in /usr/X11R6/lib, not the one xfig wants, but none in /opt... I'll start over. Thanks. Ryan Schmidt-24 wrote:
On Aug 20, 2007, at 21:00, Hermann Flaschka wrote:
My problem started with the graphics program "xfig". It would crash every time I tried to open a file. So I wanted to reinstall it, and tried to remove all its files by hand. I'm sure this was a bad idea, but I didn't know there was an "uninstall" command. When I tried to install xfig again, Macports kept giving error messages about some file already existing and not belonging to a registered port. Each time, I removed the file by hand. Finally, I did "sudo port -f uninstall xfig", and there was no message at all. Then I reinstalled xfig. That seemed to work. To be certain, I did "sudo port -d upgrade xfig" and got "No need to upgrade!"
However, when I try to use xfig, I get this message:
dyld: Library not loaded: /usr/X11R6/lib/libXaw3d.7.dylib Referenced from: /opt/local/bin/xfig Reason: image not found Trace/BPT trap
Maybe I deleted necessary files while I was messing around? The program opened OK before I did all this (it just crashed afterwards). How do I get the missing files installed? (I'm running OS X 10.4.10 on a MacBook Pro).
I see that xfig depends on Xaw3d, and Xaw3d provides libXaw3d. 7.dylib, but in /opt/local/lib/, not in /usr/X11R6/lib.
I just tried to install and run xfig just now, and it seemed to be ok. (Well, it crashed when I clicked the File menu, but that's different from referencing a nonexistent library.)
Do you have a /usr/X11R6/lib/libXaw3d.7.dylib on your system? I don't on mine.
I recommend you uninstall and clean xfig, and maybe do the same for Xaw3d, and then reinstall xfig.
_______________________________________________ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo/macports-users
-- View this message in context: http://www.nabble.com/Installing-xfig%3A-%22Library-not-loaded%22-tf4299470.... Sent from the MacPorts - Users mailing list archive at Nabble.com.
On Aug 21, 2007, at 10:12 AM, Daniel J. Luke wrote:
On Aug 21, 2007, at 9:58 AM, Jeff Stubbs wrote:
Several of the gdal modules have restricted access. So, I just can't set up a master_sites directive in the modified portfile. It appears that I'll have to download the .gz file and store them locally on my machine. The obvious directory would be "/opt/local/ src", but the question then becomes. can the master_sites directive take a "files:///opt/local/src" as an argument?
If you move the file into the appropriate distfiles sub-directory (sub-directory of /opt/local/var/macports/distfiles/ by default), macports won't try to download it (because it's already been downloaded).
Ahhh, that would solve the problem. Would MP then update the receipt file, to indicate that the file is downloaded?? Another question: From the grass dev list, they seem to be moving most/all math functions to BLAS/LAPACK. Is there any problem within Macports to linking to the Apple supplied accelerate framework? I've seen other dependencies that rely on stuff in /usr/bin, ....etc.
On 21 Aug, 2007, at 15:27, Jeff Stubbs wrote:
Ahhh, that would solve the problem. Would MP then update the receipt file, to indicate that the file is downloaded??
It's not handled by receipts. If you were to use `port -d` to see debug information, you'd see that port always checks for a distfile's existence before downloading it. So, just drop the file in (with the right name) and you're good to go.
Another question: From the grass dev list, they seem to be moving most/all math functions to BLAS/LAPACK. Is there any problem within Macports to linking to the Apple supplied accelerate framework? I've seen other dependencies that rely on stuff in /usr/bin, ....etc.
Yes, that's fine. I don't know anything about the particular library, but if it's not something everyone would have, it would be nice to confine its use to "platform darwin", test for its existence in pre- configure and, if it's not available, `return -code error "You don't have libblas"` (or a more detailed message). Of course, that's only necessary if/when you release the portfile for general use, and from the downloads situation it sounds like that's not the case yet. Chris
participants (5)
-
Chris Pickel
-
Daniel J. Luke
-
Hermann Flaschka
-
Jeff Stubbs
-
Ryan Schmidt