discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Any success building library dependencies on Mac OS X 10.11 via scripts/macosx-build-dependencies.sh?

AP
Andrew Plumb
Sat, Nov 21, 2015 6:36 PM

Hi Everyone,

Has anyone been building the dependencies on Mac OS X 10.11 with Xcode Version 7.1 (7B91b) successfully via the scripts/macosx-build-dependencies.sh script?

My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’:

ld: library not found for -lqtpcre
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[3]: *** [../../lib/QtCore.framework/QtCore] Error 1
make[2]: *** [sub-corelib-install_subtargets] Error 2
make[1]: *** [sub-src-install_subtargets] Error 2
make: *** [module-qtbase-install_subtargets] Error 2

I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere.

Some other tweaks I had to make to get to this point:

# curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2

# curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2
curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2

Thanks!

Andrew.

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/

Hi Everyone, Has anyone been building the dependencies on Mac OS X 10.11 with Xcode Version 7.1 (7B91b) successfully via the scripts/macosx-build-dependencies.sh script? My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’: ld: library not found for -lqtpcre clang: error: linker command failed with exit code 1 (use -v to see invocation) make[3]: *** [../../lib/QtCore.framework/QtCore] Error 1 make[2]: *** [sub-corelib-install_subtargets] Error 2 make[1]: *** [sub-src-install_subtargets] Error 2 make: *** [module-qtbase-install_subtargets] Error 2 I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere. Some other tweaks I had to make to get to this point: # curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2 # curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 Thanks! Andrew. -- "The future is already here. It's just not very evenly distributed" -- William Gibson Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/>
TP
Torsten Paul
Sat, Nov 21, 2015 6:39 PM

On 11/21/2015 07:36 PM, Andrew Plumb wrote:

My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’:

On 11/21/2015 07:36 PM, Andrew Plumb wrote: > My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’: > Have a look at https://github.com/openscad/openscad/issues/1490 ciao, Torsten.
MK
Marius Kintel
Sat, Nov 21, 2015 6:45 PM

I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere.

If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user?

Some other tweaks I had to make to get to this point:

 # curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
 curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2

 # curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2
 curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2

Hm, that’s odd. What failed with the original locations? I’ve been using this for years..

-Marius

> > I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere. > If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user? > Some other tweaks I had to make to get to this point: > > # curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 > curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2 > > # curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 > curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 > Hm, that’s odd. What failed with the original locations? I’ve been using this for years.. -Marius
AP
Andrew Plumb
Sat, Nov 21, 2015 7:15 PM

On Nov 21, 2015, at 1:45 PM, Marius Kintel marius@kintel.net wrote:

I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere.

If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user?

Some other tweaks I had to make to get to this point:

# curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2

# curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2
curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2

Hm, that’s odd. What failed with the original locations? I’ve been using this for years..

-Marius

For those two, there was a period last week when neither were reachable/resolving so I found alternates.

I’m going to keep them in place for myself while I poke at the qt5 issue with a Big Stick.

Andrew.

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/

> On Nov 21, 2015, at 1:45 PM, Marius Kintel <marius@kintel.net> wrote: > >> >> I didn’t have any trouble installing qt5 directly from qt.io, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere. >> > If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user? > >> Some other tweaks I had to make to get to this point: >> >> # curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 >> curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2 >> >> # curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 >> curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 >> > Hm, that’s odd. What failed with the original locations? I’ve been using this for years.. > > -Marius For those two, there was a period last week when neither were reachable/resolving so I found alternates. I’m going to keep them in place for myself while I poke at the qt5 issue with a Big Stick. Andrew. -- "The future is already here. It's just not very evenly distributed" -- William Gibson Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/>
AP
Andrew Plumb
Sat, Nov 21, 2015 7:16 PM

Thanks for pointing me at that.  It didn’t exist when I took a first stab at things but didn’t have time to dig into it at the time.  It’s not just me!

A.

On Nov 21, 2015, at 1:39 PM, Torsten Paul Torsten.Paul@gmx.de wrote:

On 11/21/2015 07:36 PM, Andrew Plumb wrote:

My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’:

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/

Thanks for pointing me at that. It didn’t exist when I took a first stab at things but didn’t have time to dig into it at the time. It’s not just me! A. > On Nov 21, 2015, at 1:39 PM, Torsten Paul <Torsten.Paul@gmx.de> wrote: > > On 11/21/2015 07:36 PM, Andrew Plumb wrote: >> My attempts get hung up at the qt5 (5.5.1) stage, unable to find/resolve ‘-lqtpcre’: >> > Have a look at https://github.com/openscad/openscad/issues/1490 > > ciao, > Torsten. > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org -- "The future is already here. It's just not very evenly distributed" -- William Gibson Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/>
AP
Andrew Plumb
Sun, Nov 22, 2015 3:03 AM

Big Stick poking mission a success!  All that was needed was an extra configure “-skip qtwebchannel” to clean up some unnecessary, broken dependencies.

https://github.com/openscad/openscad/pull/1501 https://github.com/openscad/openscad/pull/1501

Marius has already merged it in, so should be good to go!

Andrew.

On Nov 21, 2015, at 2:15 PM, Andrew Plumb andrew@plumb.org wrote:

On Nov 21, 2015, at 1:45 PM, Marius Kintel <marius@kintel.net mailto:marius@kintel.net> wrote:

I didn’t have any trouble installing qt5 directly from qt.io http://qt.io/, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere.

If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user?

Some other tweaks I had to make to get to this point:

# curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 <http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2>
curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2 <https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2>

# curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 <http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2>
curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 <http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2>

Hm, that’s odd. What failed with the original locations? I’ve been using this for years..

-Marius

For those two, there was a period last week when neither were reachable/resolving so I found alternates.

I’m going to keep them in place for myself while I poke at the qt5 issue with a Big Stick.

Andrew.

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/


OpenSCAD mailing list
Discuss@lists.openscad.org mailto:Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

--

"The future is already here.  It's just not very evenly distributed" -- William Gibson

Me: http://clothbot.com/wiki/ http://clothbot.com/wiki/

Big Stick poking mission a success! All that was needed was an extra configure “-skip qtwebchannel” to clean up some unnecessary, broken dependencies. https://github.com/openscad/openscad/pull/1501 <https://github.com/openscad/openscad/pull/1501> Marius has already merged it in, so should be good to go! Andrew. > On Nov 21, 2015, at 2:15 PM, Andrew Plumb <andrew@plumb.org> wrote: > >> >> On Nov 21, 2015, at 1:45 PM, Marius Kintel <marius@kintel.net <mailto:marius@kintel.net>> wrote: >> >>> >>> I didn’t have any trouble installing qt5 directly from qt.io <http://qt.io/>, and Mac Ports “sudo port install qt5” worked too, so it feels more like a problem with scripts/macosx-build-dependencies.sh than elsewhere. >>> >> If you can see any differences that would trigger this issue, please let me know. Could it be that this is a bug in the Qt build system which triggers only when using some variation of which external components to user? >> >>> Some other tweaks I had to make to get to this point: >>> >>> # curl -O http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 <http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2> >>> curl -O https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2 <https://ftp.gnu.org/gnu/mpfr/mpfr-$version.tar.bz2> >>> >>> # curl -LO http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 <http://downloads.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2> >>> curl -LO http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2 <http://ufpr.dl.sourceforge.net/project/boost/boost/$version/boost_$bversion.tar.bz2> >>> >> Hm, that’s odd. What failed with the original locations? I’ve been using this for years.. >> >> -Marius > > For those two, there was a period last week when neither were reachable/resolving so I found alternates. > > I’m going to keep them in place for myself while I poke at the qt5 issue with a Big Stick. > > Andrew. > > > -- > > "The future is already here. It's just not very evenly distributed" -- William Gibson > > Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/> > > > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org <mailto:Discuss@lists.openscad.org> > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org <http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org> -- "The future is already here. It's just not very evenly distributed" -- William Gibson Me: http://clothbot.com/wiki/ <http://clothbot.com/wiki/>