[MacPorts] #34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2)
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: encfs | Port: encfs ------------------------------------+--------------------------------------- Hello, I can't convince encfs to compile, see attached log. Before creating this log, and opening this ticket, I did: - port selfupdate - port upgrade outdated - port clean encfs - then: port -dv install encfs I tried search for existing tickets with similar problems, but only found stuff that was 3 years old. The only thing that might be unusual about my setup is that I installed macports into /opt/ports -- Ticket URL: <https://trac.macports.org/ticket/34376> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Changes (by ryandesign@…): * cc: tj.trevelyan@… (removed) * cc: ryandesign@… (added) * owner: macports-tickets@… => Markus.Ueberall@… * keywords: encfs => Comment: The relevant messages in the log seem to be: {{{ checking for boostlib >= 1.34... yes checking whether the Boost::System library is available... yes configure: WARNING: BOOST_CPPFLAGS checking whether the Boost::Serialization library is available... yes configure: error: Could not link against ! }}} One might ask: what about BOOST_CPPFLAGS? What could not be linked against? Curious. It installs fine on my system, which is OS X 10.6.8 with Xcode 3.2.6. That suggests perhaps it's a compiler issue, and you could try [wiki:ProblemHotlist#compiler using a different compiler] as a workaround. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by tj.trevelyan@…): There is no BOOST_CPPFLAGS set in the shell I call port from. If it's set, it being done in the port process. I tried both the llvm and apple-gcc compiler, as documented on that page for Xcode 4.2 and above. I got the same error. If you want to see BOOST_CPPFLAGS, then please tell what I should do so that port will echo it. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by ryandesign@…): I only meant that the error messages that the port printed out—"WARNING: BOOST_CPPFLAGS" and "Could not link against !"—seem to be incomplete, and I was commenting that that was curious. I don't know what it means, why it does that on your system but not mine, or how to fix it. Hopefully the port's maintainer, Markus.Ueberall, to whom this ticket is assigned, will have some ideas. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by Markus.Ueberall@…): Replying to [comment:4 ryandesign@…]:
Hopefully the port's maintainer, Markus.Ueberall, to whom this ticket is assigned, will have some ideas. I'm afraid I don't use Lion (will stay on SL until ML gets released), so I don't have the means to locally reproduce these messages. What I could do is experiment with different revisions of boostlib next week (hoping that it's related to that), but then so can the original reporter...
-- Ticket URL: <https://trac.macports.org/ticket/34376#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by tj.trevelyan@…): Could you please point me to a page on how to do that? and I try to give it a go. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by tj.trevelyan@…): Hi all, symlinking /opt/local to /opt/ports (where I installed macports) fixed this. That means that /opt/local is hardcoded somewhere in encfs' build, does it not? After installing encfs, I removed the /opt/local symlink and encfs continued to work. So it was only needed at build time. Regards, Thorben -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs 1.7.4 not compiling on Lion 10.7.3 (Xcode 4.3.2) ------------------------------------+--------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: encfs ------------------------------------+--------------------------------------- Comment(by ryandesign@…): Thanks for that tip. Yes, that seems to be the problem. Unfortunately I think the boost developers distribute a snippet that explicitly searches /opt/local and /usr/local for dependencies, so that nonsense makes its way into many programs that use boost, and need to be patched out in each such program. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34376: encfs @1.7.4: configure fails to find boost when using custom prefix -------------------------------------+-------------------------------------- Reporter: tj.trevelyan@… | Owner: Markus.Ueberall@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: encfs | -------------------------------------+-------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r96858 should be all that's needed here. -- Ticket URL: <https://trac.macports.org/ticket/34376#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts