discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

building from source on Ubuntu 14.04 LTS

L
lmcc
Fri, Apr 29, 2016 2:23 PM

I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into some
problems. Here's what I've done:

git clone git://github.com/openscad/openscad.git

from README.md:
git submodule update --init

  (here I switched to a bash shell)

  source ./scripts/setenv-unibuild.sh

depname    minimum    found      OKness
qt          4.4        5.2.1      OK
qscintilla2 2.7        unknown    NotOK
cgal        3.6        4.4        OK
gmp        5.0        5.0.5      OK
mpfr        3.0        3.1.1      OK
boost      1.35        1.56        OK
opencsg    1.3.2      1.3.2      OK
glew        1.5.4      1.7.0      OK
eigen      3.0        3.2.2      OK
glib2      2.0        2.38.2      OK
fontconfig  2.10        2.11.      OK
freetype2  2.4        2.5.0      OK
harfbuzz    0.9.19      0.9.23      OK
bison      2.4        3.0.2      OK
flex        2.5.35      2.5.35      OK
make        3          3.81        OK

Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

  1. I don't  know how to solve the qscintilla2 complaint. I have installed
    qscintilla2-dev.

  2. I don't know what the warning about pkgconfig means.

--
View this message in context: http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html
Sent from the OpenSCAD mailing list archive at Nabble.com.

I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into some problems. Here's what I've done: git clone git://github.com/openscad/openscad.git from README.md: git submodule update --init (here I switched to a bash shell) source ./scripts/setenv-unibuild.sh depname minimum found OKness qt 4.4 5.2.1 OK qscintilla2 2.7 unknown NotOK cgal 3.6 4.4 OK gmp 5.0 5.0.5 OK mpfr 3.0 3.1.1 OK boost 1.35 1.56 OK opencsg 1.3.2 1.3.2 OK glew 1.5.4 1.7.0 OK eigen 3.0 3.2.2 OK glib2 2.0 2.38.2 OK fontconfig 2.10 2.11. OK freetype2 2.4 2.5.0 OK harfbuzz 0.9.19 0.9.23 OK bison 2.4 3.0.2 OK flex 2.5.35 2.5.35 OK make 3 3.81 OK Warning: you have pkgconfig under /usr/local/lib Please verify these local copies don't conflict with the system 1. I don't know how to solve the qscintilla2 complaint. I have installed qscintilla2-dev. 2. I don't know what the warning about pkgconfig means. -- View this message in context: http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html Sent from the OpenSCAD mailing list archive at Nabble.com.
DM
doug moen
Fri, Apr 29, 2016 6:09 PM

I'm on 16.04, but this should work for you as well.

I've installed the package libqt5scintilla2-dev, and check-dependencies.sh
is happy with that.

I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't
seem to check for that package.

On 29 April 2016 at 09:23, lmcc lmccourry@gmail.com wrote:

I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into
some
problems. Here's what I've done:

git clone git://github.com/openscad/openscad.git

from README.md:
   git submodule update --init

   (here I switched to a bash shell)

   source ./scripts/setenv-unibuild.sh

depname    minimum    found      OKness
qt          4.4        5.2.1      OK
qscintilla2 2.7        unknown    NotOK
cgal        3.6        4.4        OK
gmp        5.0        5.0.5      OK
mpfr        3.0        3.1.1      OK
boost      1.35        1.56        OK
opencsg    1.3.2      1.3.2      OK
glew        1.5.4      1.7.0      OK
eigen      3.0        3.2.2      OK
glib2      2.0        2.38.2      OK
fontconfig  2.10        2.11.      OK
freetype2  2.4        2.5.0      OK
harfbuzz    0.9.19      0.9.23      OK
bison      2.4        3.0.2      OK
flex        2.5.35      2.5.35      OK
make        3          3.81        OK

Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

  1. I don't  know how to solve the qscintilla2 complaint. I have installed
    qscintilla2-dev.

  2. I don't know what the warning about pkgconfig means.

--
View this message in context:
http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

I'm on 16.04, but this should work for you as well. I've installed the package libqt5scintilla2-dev, and check-dependencies.sh is happy with that. I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't seem to check for that package. On 29 April 2016 at 09:23, lmcc <lmccourry@gmail.com> wrote: > I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into > some > problems. Here's what I've done: > > git clone git://github.com/openscad/openscad.git > > from README.md: > git submodule update --init > > (here I switched to a bash shell) > > source ./scripts/setenv-unibuild.sh > > depname minimum found OKness > qt 4.4 5.2.1 OK > qscintilla2 2.7 unknown NotOK > cgal 3.6 4.4 OK > gmp 5.0 5.0.5 OK > mpfr 3.0 3.1.1 OK > boost 1.35 1.56 OK > opencsg 1.3.2 1.3.2 OK > glew 1.5.4 1.7.0 OK > eigen 3.0 3.2.2 OK > glib2 2.0 2.38.2 OK > fontconfig 2.10 2.11. OK > freetype2 2.4 2.5.0 OK > harfbuzz 0.9.19 0.9.23 OK > bison 2.4 3.0.2 OK > flex 2.5.35 2.5.35 OK > make 3 3.81 OK > > Warning: you have pkgconfig under /usr/local/lib > Please verify these local copies don't conflict with the system > > > 1. I don't know how to solve the qscintilla2 complaint. I have installed > qscintilla2-dev. > > 2. I don't know what the warning about pkgconfig means. > > > > > > > > -- > View this message in context: > http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html > Sent from the OpenSCAD mailing list archive at Nabble.com. > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org > > >
DM
doug moen
Fri, Apr 29, 2016 7:11 PM

On Ubuntu 16.04, scripts/uni-get-dependencies.sh is kind of broken, and I
had to install a lot of additional packages in order to satisfy
check-dependencies.sh:

apt install libcgal-dev

apt install libopencsg-dev

apt install libglew-dev

apt install libeigen3-dev

apt install libglib2.0-dev

apt install libfontconfig1-dev

apt install bison

apt install flex

check-dependencies.sh is also somewhat broken, because it didn't prompt me
to install these additional packages:

apt install libboost-filesystem-dev

apt install libboost-regex-dev

However, after the dependencies were satisfied, the build worked and
./openscad seems to work. So I can confirm for lmcc that
libqt5scintilla2-dev satisified my dependency for "qscintilla2".

Now I'm trying to build the test suite. This is more dependency hell.

On 29 April 2016 at 13:09, doug moen doug@moens.org wrote:

I'm on 16.04, but this should work for you as well.

I've installed the package libqt5scintilla2-dev, and check-dependencies.sh
is happy with that.

I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't
seem to check for that package.

On 29 April 2016 at 09:23, lmcc lmccourry@gmail.com wrote:

I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into
some
problems. Here's what I've done:

git clone git://github.com/openscad/openscad.git

from README.md:
   git submodule update --init

   (here I switched to a bash shell)

   source ./scripts/setenv-unibuild.sh

depname    minimum    found      OKness
qt          4.4        5.2.1      OK
qscintilla2 2.7        unknown    NotOK
cgal        3.6        4.4        OK
gmp        5.0        5.0.5      OK
mpfr        3.0        3.1.1      OK
boost      1.35        1.56        OK
opencsg    1.3.2      1.3.2      OK
glew        1.5.4      1.7.0      OK
eigen      3.0        3.2.2      OK
glib2      2.0        2.38.2      OK
fontconfig  2.10        2.11.      OK
freetype2  2.4        2.5.0      OK
harfbuzz    0.9.19      0.9.23      OK
bison      2.4        3.0.2      OK
flex        2.5.35      2.5.35      OK
make        3          3.81        OK

Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

  1. I don't  know how to solve the qscintilla2 complaint. I have installed
    qscintilla2-dev.

  2. I don't know what the warning about pkgconfig means.

--
View this message in context:
http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

On Ubuntu 16.04, scripts/uni-get-dependencies.sh is kind of broken, and I had to install a lot of additional packages in order to satisfy check-dependencies.sh: # apt install libcgal-dev # apt install libopencsg-dev # apt install libglew-dev # apt install libeigen3-dev # apt install libglib2.0-dev # apt install libfontconfig1-dev # apt install bison # apt install flex check-dependencies.sh is also somewhat broken, because it didn't prompt me to install these additional packages: # apt install libboost-filesystem-dev # apt install libboost-regex-dev However, after the dependencies were satisfied, the build worked and ./openscad seems to work. So I can confirm for lmcc that libqt5scintilla2-dev satisified my dependency for "qscintilla2". Now I'm trying to build the test suite. This is more dependency hell. On 29 April 2016 at 13:09, doug moen <doug@moens.org> wrote: > I'm on 16.04, but this should work for you as well. > > I've installed the package libqt5scintilla2-dev, and check-dependencies.sh > is happy with that. > > I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't > seem to check for that package. > > On 29 April 2016 at 09:23, lmcc <lmccourry@gmail.com> wrote: > >> I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into >> some >> problems. Here's what I've done: >> >> git clone git://github.com/openscad/openscad.git >> >> from README.md: >> git submodule update --init >> >> (here I switched to a bash shell) >> >> source ./scripts/setenv-unibuild.sh >> >> depname minimum found OKness >> qt 4.4 5.2.1 OK >> qscintilla2 2.7 unknown NotOK >> cgal 3.6 4.4 OK >> gmp 5.0 5.0.5 OK >> mpfr 3.0 3.1.1 OK >> boost 1.35 1.56 OK >> opencsg 1.3.2 1.3.2 OK >> glew 1.5.4 1.7.0 OK >> eigen 3.0 3.2.2 OK >> glib2 2.0 2.38.2 OK >> fontconfig 2.10 2.11. OK >> freetype2 2.4 2.5.0 OK >> harfbuzz 0.9.19 0.9.23 OK >> bison 2.4 3.0.2 OK >> flex 2.5.35 2.5.35 OK >> make 3 3.81 OK >> >> Warning: you have pkgconfig under /usr/local/lib >> Please verify these local copies don't conflict with the system >> >> >> 1. I don't know how to solve the qscintilla2 complaint. I have installed >> qscintilla2-dev. >> >> 2. I don't know what the warning about pkgconfig means. >> >> >> >> >> >> >> >> -- >> View this message in context: >> http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html >> Sent from the OpenSCAD mailing list archive at Nabble.com. >> >> _______________________________________________ >> OpenSCAD mailing list >> Discuss@lists.openscad.org >> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >> >> >> >
DM
doug moen
Fri, Apr 29, 2016 7:31 PM

The test suites ran successfully on Ubuntu 16.04 after I added two more
missing dependencies:

apt install cmake

apt install libcgal-qt5-dev

On 29 April 2016 at 14:11, doug moen doug@moens.org wrote:

On Ubuntu 16.04, scripts/uni-get-dependencies.sh is kind of broken, and I
had to install a lot of additional packages in order to satisfy
check-dependencies.sh:

apt install libcgal-dev

apt install libopencsg-dev

apt install libglew-dev

apt install libeigen3-dev

apt install libglib2.0-dev

apt install libfontconfig1-dev

apt install bison

apt install flex

check-dependencies.sh is also somewhat broken, because it didn't prompt me
to install these additional packages:

apt install libboost-filesystem-dev

apt install libboost-regex-dev

However, after the dependencies were satisfied, the build worked and
./openscad seems to work. So I can confirm for lmcc that
libqt5scintilla2-dev satisified my dependency for "qscintilla2".

Now I'm trying to build the test suite. This is more dependency hell.

On 29 April 2016 at 13:09, doug moen doug@moens.org wrote:

I'm on 16.04, but this should work for you as well.

I've installed the package libqt5scintilla2-dev, and
check-dependencies.sh is happy with that.

I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't
seem to check for that package.

On 29 April 2016 at 09:23, lmcc lmccourry@gmail.com wrote:

I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into
some
problems. Here's what I've done:

git clone git://github.com/openscad/openscad.git

from README.md:
   git submodule update --init

   (here I switched to a bash shell)

   source ./scripts/setenv-unibuild.sh

depname    minimum    found      OKness
qt          4.4        5.2.1      OK
qscintilla2 2.7        unknown    NotOK
cgal        3.6        4.4        OK
gmp        5.0        5.0.5      OK
mpfr        3.0        3.1.1      OK
boost      1.35        1.56        OK
opencsg    1.3.2      1.3.2      OK
glew        1.5.4      1.7.0      OK
eigen      3.0        3.2.2      OK
glib2      2.0        2.38.2      OK
fontconfig  2.10        2.11.      OK
freetype2  2.4        2.5.0      OK
harfbuzz    0.9.19      0.9.23      OK
bison      2.4        3.0.2      OK
flex        2.5.35      2.5.35      OK
make        3          3.81        OK

Warning: you have pkgconfig under /usr/local/lib
Please verify these local copies don't conflict with the system

  1. I don't  know how to solve the qscintilla2 complaint. I have installed
    qscintilla2-dev.

  2. I don't know what the warning about pkgconfig means.

--
View this message in context:
http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html
Sent from the OpenSCAD mailing list archive at Nabble.com.


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

The test suites ran successfully on Ubuntu 16.04 after I added two more missing dependencies: # apt install cmake # apt install libcgal-qt5-dev On 29 April 2016 at 14:11, doug moen <doug@moens.org> wrote: > On Ubuntu 16.04, scripts/uni-get-dependencies.sh is kind of broken, and I > had to install a lot of additional packages in order to satisfy > check-dependencies.sh: > > # apt install libcgal-dev > # apt install libopencsg-dev > # apt install libglew-dev > # apt install libeigen3-dev > # apt install libglib2.0-dev > # apt install libfontconfig1-dev > # apt install bison > # apt install flex > > check-dependencies.sh is also somewhat broken, because it didn't prompt me > to install these additional packages: > # apt install libboost-filesystem-dev > # apt install libboost-regex-dev > > However, after the dependencies were satisfied, the build worked and > ./openscad seems to work. So I can confirm for lmcc that > libqt5scintilla2-dev satisified my dependency for "qscintilla2". > > Now I'm trying to build the test suite. This is more dependency hell. > > On 29 April 2016 at 13:09, doug moen <doug@moens.org> wrote: > >> I'm on 16.04, but this should work for you as well. >> >> I've installed the package libqt5scintilla2-dev, and >> check-dependencies.sh is happy with that. >> >> I DO NOT have libqscintilla2-dev installed. check-dependencies.sh doesn't >> seem to check for that package. >> >> On 29 April 2016 at 09:23, lmcc <lmccourry@gmail.com> wrote: >> >>> I'm trying to build openscad in Ubuntu 14.04 LTS, but I am running into >>> some >>> problems. Here's what I've done: >>> >>> git clone git://github.com/openscad/openscad.git >>> >>> from README.md: >>> git submodule update --init >>> >>> (here I switched to a bash shell) >>> >>> source ./scripts/setenv-unibuild.sh >>> >>> depname minimum found OKness >>> qt 4.4 5.2.1 OK >>> qscintilla2 2.7 unknown NotOK >>> cgal 3.6 4.4 OK >>> gmp 5.0 5.0.5 OK >>> mpfr 3.0 3.1.1 OK >>> boost 1.35 1.56 OK >>> opencsg 1.3.2 1.3.2 OK >>> glew 1.5.4 1.7.0 OK >>> eigen 3.0 3.2.2 OK >>> glib2 2.0 2.38.2 OK >>> fontconfig 2.10 2.11. OK >>> freetype2 2.4 2.5.0 OK >>> harfbuzz 0.9.19 0.9.23 OK >>> bison 2.4 3.0.2 OK >>> flex 2.5.35 2.5.35 OK >>> make 3 3.81 OK >>> >>> Warning: you have pkgconfig under /usr/local/lib >>> Please verify these local copies don't conflict with the system >>> >>> >>> 1. I don't know how to solve the qscintilla2 complaint. I have installed >>> qscintilla2-dev. >>> >>> 2. I don't know what the warning about pkgconfig means. >>> >>> >>> >>> >>> >>> >>> >>> -- >>> View this message in context: >>> http://forum.openscad.org/building-from-source-on-Ubuntu-14-04-LTS-tp17237.html >>> Sent from the OpenSCAD mailing list archive at Nabble.com. >>> >>> _______________________________________________ >>> OpenSCAD mailing list >>> Discuss@lists.openscad.org >>> http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >>> >>> >>> >> >
MK
Marius Kintel
Sat, Apr 30, 2016 4:28 PM

Hi Doug,

Those scripts could indeed need some maintenance. They are primarily meant as helper scripts to get started, so I guess they tend not to be used by developers on a daily basis and thus fall out of maintenance. Plus that it sucks to maintain this across multiple distros and versions, as every time you make a change you’re bound to break it for someone else : /
On OS X, I’m maintaining a similar script, but the benefit is that OS X just one “distro” and we only support the 3 latest major versions.

Patches are welcome :)

-Marius

Hi Doug, Those scripts could indeed need some maintenance. They are primarily meant as helper scripts to get started, so I guess they tend not to be used by developers on a daily basis and thus fall out of maintenance. Plus that it sucks to maintain this across multiple distros and versions, as every time you make a change you’re bound to break it for someone else : / On OS X, I’m maintaining a similar script, but the benefit is that OS X just one “distro” and we only support the 3 latest major versions. Patches are welcome :) -Marius
TP
Torsten Paul
Sat, Apr 30, 2016 4:45 PM

On 04/30/2016 06:28 PM, Marius Kintel wrote:

....to maintain this across multiple distros and versions, as every
time you make a change you’re bound to break it for someone else : /

In addition it looks like we are running into more issues as OBS
never had the Ubuntu Universe stuff available. Up to now it was
just a matter of rebuilding a couple of packages. For 16.04 I
stopped when it needed both TeX and Java.

Which means there are no Ubuntu 16.04 nightly builds for now :-(.

Unfortunately there's no other option yet.

ciao,
Torsten.

On 04/30/2016 06:28 PM, Marius Kintel wrote: > ....to maintain this across multiple distros and versions, as every > time you make a change you’re bound to break it for someone else : / > In addition it looks like we are running into more issues as OBS never had the Ubuntu Universe stuff available. Up to now it was just a matter of rebuilding a couple of packages. For 16.04 I stopped when it needed both TeX and Java. Which means there are no Ubuntu 16.04 nightly builds for now :-(. Unfortunately there's no other option yet. ciao, Torsten.
MD
Michele Denber
Sat, Apr 30, 2016 7:53 PM

On 04-30-2016 12:28 PM, Marius Kintel wrote:

Those scripts could indeed need some maintenance. ...

I can report that the dependency checker has problems in Solaris 10.  It
says that qt, cgal, gcc, and make are all unknown, even though they're
there.

Patches are welcome :)

I'd be happy to help, if I knew what to do.

         - Michele
On 04-30-2016 12:28 PM, Marius Kintel wrote: > Those scripts could indeed need some maintenance. ... > I can report that the dependency checker has problems in Solaris 10. It says that qt, cgal, gcc, and make are all unknown, even though they're there. > Patches are welcome :) > I'd be happy to help, if I knew what to do. - Michele