allow to define install prefix manually #1
Comments
|
The prefix "/usr/local/" is indeed hardcoded in in several files not just in the build script. It would be possible make it more flexible but this will most likely lead to bigger problems. MacPorts currently patches MacFUSE to install parts of it in in its /opt/local hierarchy. The result is that C filesystems compiled against MacFUSE's libfuse will not work if not compiled and installed through MacPorts. That is certainly not optimal. That said, I will be working on the build process for the next major release 2.4 and will take a look at it. |
|
My intent is to integrate osxfuse into macports (I'd create a Portfile for this). From my perspective the only problem for now is that the prefix is not selectable, that's why I am asking about it. It does not mean the packaged dmg should use another prefix for people that install it without macports. People who install it through macports nearly always install the filesystems through macports, too (most often the macports-macfuse installation is just a dependency of a filesystem someone wants to use through macports). So there shouldn't be any problem for both groups of people (macports and non-macports). Glad to hear you'll take a look on the prefix-selection. |
|
Any progress on this? I would very much be interested in seeing this resolved so we can include it in Homebrew! |
|
@firewing1 |
|
@Chip-McK, no unfortunately - this issue isn't that OSX Fuse cannot be bundled in another application's installer or that the target drive cannot be selected, but rather that the installation prefix is hardcoded so this makes it impossible to package place OSX Fuse in a location that would be suitable for use by Homebrew. Hopefully the updated packaging scripts will be out soon! |
|
|
|
Yes please fix this |
|
+1 if it's possible not to hardcode the install prefix that would be great |
|
+1 |
3 similar comments
|
+1 |
|
+1 |
|
+1 |
|
+1 OSXFUSE must be added :( |
|
+1 |
|
Hello from Homebrew! We are longing for this issue to be fixed! |
|
+1! |
|
@samueljohn I started working on an osxfuse formula and took some clues from the existing fuse4x formula but have a question regarding the prefix. Maybe you (or anyone else here) are able to help. The osxfuse prefix would be Then every program linking against |
|
Found the answer here: https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/keg_fix_install_names.rb (install_name_tool) |
Addresses issue #1: allow to define install prefix manually
|
I've created a formula for osxfuse 2.6.0. For now you can install osxfuse by running:
|
|
Thanks ! |
|
@bfleischer : Thanks you !!!!!! Can you enable the MacFUSE compatibility layer in homebrew target, please? NTFS-3G requires MacFUSE. Greetings |
|
@CyberCastle I would prefer not adding the MacFUSE compatibility layer. As far as I know ntfs-3g simply requires a FUSE installation. It should not matter whether this is MacFUSE, osxfuse or Fuse4X. The ntfs-3g formula might need some tweaking, though. |
|
@bfleischer: Ok, thanks you for quick reply. I will continue investigating how to compile NTFS-3G, using OSXFUSE. Greetings |
|
@bfleischer thanks for attacking this issue! If another formula in homebrew specifies If the formula is not marked as |
|
@samueljohn Thanks. I've opened a pull request Homebrew/legacy-homebrew#21318. |
|
I've completely rewritten the build script for version 3 of FUSE for OS X. The new build system contains a new target for package managers like Homebrew or MacPorts. This should eliminate the need for patching the osxfuse build script (as MacPorts did the last time I checked). Please note that for now version 2.x remains the latest stable release. Once version 3 become the stable release the following commands should work for Homebrew and MacPorts. Homebrew
MacPorts
|
hello,
I'd like to specify the install prefix of the libs etc. manually. Then this could be easily integrated into macports.
Now the prefix is hardcoded (I think) to "/usr/local". Would be great to have a variable in build.sh to define the prefix to something own.
Tried to replace the "/usr/local" with my own prefix ("/opt/local") in the two files "build.sh" and "fuse/libmacfuse.xcodeproj/project.pbxproj", but that seems not to be enough - still creating "/usr/local" prefix.
Regards,
Markus
The text was updated successfully, but these errors were encountered: