Opened 19 years ago
Closed 19 years ago
#4973 closed defect (invalid)
framework ports do not install properly into /Library/Frameworks
Reported by: | konis@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 1.0 |
Keywords: | Cc: | ||
Port: |
Description
The files in a framework are not actually copied to the final install location, rather they end up being links to the original file in destroot. The folders and relative links are copied correctly. For example,
[muffin] kjell> sudo port install agprocess ---> Fetching agprocess ---> Attempting to fetch AGProcess-0.2.tgz from http://puzzle.dl.sourceforge.net/agkit ---> Verifying checksum(s) for agprocess ---> Extracting agprocess ---> Configuring agprocess ---> Building agprocess ---> Staging agprocess into destroot ---> Packaging tgz archive for agprocess 0.2_0 ---> Installing agprocess 0.2_0 ---> Activating agprocess 0.2_0 Error: unknown target: clean
installs AGProcess.framework in /Library/Frameworks. The link
/Library/Frameworks/AGProcess.framework/AGProcess
points to
AGProcess -> Versions/Current/AGProcess
like it should but
/Library/Frameworks/AGProcess.framework/Versions/Current/AGProcess
points to
AGProcess -> /opt/local/var/db/dports/software/agprocess/0.2_0/Library/Frameworks/ AGProcess.framework/Versions/A/AGProcess
instead of actually being the file. This happens for everything that should be a file in the framework.
Change History (2)
comment:1 Changed 19 years ago by konis@…
comment:2 Changed 19 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
(In reply to comment #1)
There was something I forgot to mention and it looks like it turned out to be important. My /opt/
local
was a link to /Volumes/muffin/DarwinPorts. I just reinstalled DP in /opt/local (now a directory, not a
link)
and now framework ports install correctly in /Library/Frameworks.
Don't do this.
If you want to install darwinports in a place other than /opt/local, you need to build your own copy of base and when you run ./configure set the prefix. ie:
./configure --prefix=/Volumes/muffin/DarwinPorts
There was something I forgot to mention and it looks like it turned out to be important. My /opt/local was a link to /Volumes/muffin/DarwinPorts. I just reinstalled DP in /opt/local (now a directory, not a link) and now framework ports install correctly in /Library/Frameworks.