* ocamlgsl-0.6.0. fails to compile on ubuntu @ 2007-11-12 12:06 ` Mikhalev, Alex 2007-11-12 12:15 ` [Caml-list] " Erik de Castro Lopo 2007-11-12 12:22 ` Olivier Andrieu 0 siblings, 2 replies; 6+ messages in thread From: Mikhalev, Alex @ 2007-11-12 12:06 UTC (permalink / raw) To: caml-list [-- Attachment #1: Type: text/plain, Size: 4295 bytes --] Dear All, Any help will be appreciated as well as suggestion to any docs or tutorial (I have seen README and website). All error messages and system configuration below. Regards, Alex >tar zxvf ocamlgsl-0.6.0.tar.gz >cd ocamlgsl-0.6.0/ >make /ocamlgsl-0.6.0$ make /bin/sh: gawk: not found /bin/sh: gawk: not found /bin/sh: gawk: not found Makefile:100: mingw.mak: No such file or directory /bin/sh: gawk: not found make: *** No rule to make target `mingw.mak'. Stop. >sudo aptitude install gawk Setting up gawk (3.1.5.dfsg-4build1) ... >make .... ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_alloc’: mlgsl_eigen.c:152: error: ‘gsl_eigen_nonsymm_workspace’ undeclared (first use in this function) mlgsl_eigen.c:152: error: (Each undeclared identifier is reported only once mlgsl_eigen.c:152: error: for each function it appears in.) mlgsl_eigen.c:152: error: ‘ws’ undeclared (first use in this function) mlgsl_eigen.c:152: warning: implicit declaration of function ‘gsl_eigen_nonsymm_alloc’ mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_free’: mlgsl_eigen.c:159: warning: implicit declaration of function ‘gsl_eigen_nonsymm_free’ mlgsl_eigen.c:159: error: ‘gsl_eigen_nonsymm_workspace’ undeclared (first use in this function) mlgsl_eigen.c:159: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm’: mlgsl_eigen.c:167: warning: implicit declaration of function ‘gsl_eigen_nonsymm’ mlgsl_eigen.c:167: error: ‘gsl_eigen_nonsymm_workspace’ undeclared (first use in this function) mlgsl_eigen.c:167: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymm_Z’: mlgsl_eigen.c:177: warning: implicit declaration of function ‘gsl_eigen_nonsymm_Z’ mlgsl_eigen.c:177: error: ‘gsl_eigen_nonsymm_workspace’ undeclared (first use in this function) mlgsl_eigen.c:177: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_alloc’: mlgsl_eigen.c:184: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared (first use in this function) mlgsl_eigen.c:184: error: ‘ws’ undeclared (first use in this function) mlgsl_eigen.c:184: warning: implicit declaration of function ‘gsl_eigen_nonsymmv_alloc’ mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_free’: mlgsl_eigen.c:191: warning: implicit declaration of function ‘gsl_eigen_nonsymmv_free’ mlgsl_eigen.c:191: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared (first use in this function) mlgsl_eigen.c:191: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv’: mlgsl_eigen.c:201: warning: implicit declaration of function ‘gsl_eigen_nonsymmv’ mlgsl_eigen.c:201: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared (first use in this function) mlgsl_eigen.c:201: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_Z’: mlgsl_eigen.c:213: warning: implicit declaration of function ‘gsl_eigen_nonsymmv_Z’ mlgsl_eigen.c:213: error: ‘gsl_eigen_nonsymmv_workspace’ undeclared (first use in this function) mlgsl_eigen.c:213: error: expected expression before ‘)’ token mlgsl_eigen.c: In function ‘ml_gsl_eigen_nonsymmv_sort’: mlgsl_eigen.c:225: warning: implicit declaration of function ‘gsl_eigen_nonsymmv_sort’ make: *** [mlgsl_eigen.o] Error 2 >uname -a Linux * 2.6.20-16-generic #2 SMP Sun Sep 23 18:31:23 UTC 2007 x86_64 GNU/Linux >ocaml -version The Objective Caml toplevel, version 3.09.2 >gsl-config gsl-config --libs --prefix -L/usr/lib -lgsl -lgslcblas -lm /usr >gcc -v Using built-in specs. Target: x86_64-linux-gnu Configured with: ../src/configure -v --enable-languages=c,c ++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --enable-checking=release x86_64-linux-gnu Thread model: posix gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) [-- Attachment #2: Type: text/html, Size: 5101 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] ocamlgsl-0.6.0. fails to compile on ubuntu 2007-11-12 12:06 ` ocamlgsl-0.6.0. fails to compile on ubuntu Mikhalev, Alex @ 2007-11-12 12:15 ` Erik de Castro Lopo 2007-11-12 12:14 ` Mikhalev, Alex 2007-11-12 12:22 ` Olivier Andrieu 1 sibling, 1 reply; 6+ messages in thread From: Erik de Castro Lopo @ 2007-11-12 12:15 UTC (permalink / raw) To: caml-list Mikhalev, Alex wrote: > /ocamlgsl-0.6.0$ make > /bin/sh: gawk: not found > /bin/sh: gawk: not found > /bin/sh: gawk: not found Did you try doing: sudo apt-get install gawk Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "They should make peace with those who make peace, and wage war against those who wage war, and wage jihad against those who stand in the way of spreading the message of Islam and causing it to prevail of earth." http://islamqa.com/index.php?ln=eng&ds=qa&lv=browse&QR=26721&dgn=4 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] ocamlgsl-0.6.0. fails to compile on ubuntu 2007-11-12 12:15 ` [Caml-list] " Erik de Castro Lopo @ 2007-11-12 12:14 ` Mikhalev, Alex 0 siblings, 0 replies; 6+ messages in thread From: Mikhalev, Alex @ 2007-11-12 12:14 UTC (permalink / raw) To: caml-list [-- Attachment #1: Type: text/plain, Size: 376 bytes --] Yep. See below in original message. in my case it's called >sudo aptitude install gawk. On Mon, 2007-11-12 at 23:15 +1100, Erik de Castro Lopo wrote: > Mikhalev, Alex wrote: > > > /ocamlgsl-0.6.0$ make > > /bin/sh: gawk: not found > > /bin/sh: gawk: not found > > /bin/sh: gawk: not found > > Did you try doing: > > sudo apt-get install gawk > > Erik [-- Attachment #2: Type: text/html, Size: 907 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] ocamlgsl-0.6.0. fails to compile on ubuntu 2007-11-12 12:06 ` ocamlgsl-0.6.0. fails to compile on ubuntu Mikhalev, Alex 2007-11-12 12:15 ` [Caml-list] " Erik de Castro Lopo @ 2007-11-12 12:22 ` Olivier Andrieu 2007-11-12 14:09 ` Alex Mikhalev 2007-11-12 14:15 ` Sylvain Le Gall 1 sibling, 2 replies; 6+ messages in thread From: Olivier Andrieu @ 2007-11-12 12:22 UTC (permalink / raw) To: Mikhalev, Alex; +Cc: caml-list Hi, On Nov 12, 2007 1:06 PM, Mikhalev, Alex <a.mikhalev@cranfield.ac.uk> wrote: > > > > Dear All, > Any help will be appreciated as well as suggestion to any docs or > tutorial (I have seen README and website). All error messages and system > configuration below. > Regards, > Alex > >tar zxvf ocamlgsl-0.6.0.tar.gz > >cd ocamlgsl-0.6.0/ > >make > /ocamlgsl-0.6.0$ make > /bin/sh: gawk: not found > /bin/sh: gawk: not found > /bin/sh: gawk: not found > Makefile:100: mingw.mak: No such file or directory > /bin/sh: gawk: not found > make: *** No rule to make target `mingw.mak'. Stop. > >sudo aptitude install gawk > Setting up gawk (3.1.5.dfsg-4build1) ... indeed, you need awk. > >make > .... > ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c > mlgsl_eigen.c: In function 'ml_gsl_eigen_nonsymm_alloc': > mlgsl_eigen.c:152: error: 'gsl_eigen_nonsymm_workspace' undeclared > (first use in this function) that's because your version of GSL is too old: ocamlgsl 0.6.0 requires GSL 1.9. Either upgrade your GSL or use a previous version of ocamlgsl. Btw I'm pretty sure Debian has a package for ocamlgsl ... -- Olivier ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Caml-list] ocamlgsl-0.6.0. fails to compile on ubuntu 2007-11-12 12:22 ` Olivier Andrieu @ 2007-11-12 14:09 ` Alex Mikhalev 2007-11-12 14:15 ` Sylvain Le Gall 1 sibling, 0 replies; 6+ messages in thread From: Alex Mikhalev @ 2007-11-12 14:09 UTC (permalink / raw) To: caml-list Thank you Olivier, upgrading to gsl 1.9 did the trick. Regards, Alex On Mon, 2007-11-12 at 13:22 +0100, Olivier Andrieu wrote: > Hi, > > On Nov 12, 2007 1:06 PM, Mikhalev, Alex <a.mikhalev@cranfield.ac.uk> wrote: > > > > > > > > Dear All, > > Any help will be appreciated as well as suggestion to any docs or > > tutorial (I have seen README and website). All error messages and system > > configuration below. > > Regards, > > Alex > > >tar zxvf ocamlgsl-0.6.0.tar.gz > > >cd ocamlgsl-0.6.0/ > > >make > > /ocamlgsl-0.6.0$ make > > /bin/sh: gawk: not found > > /bin/sh: gawk: not found > > /bin/sh: gawk: not found > > Makefile:100: mingw.mak: No such file or directory > > /bin/sh: gawk: not found > > make: *** No rule to make target `mingw.mak'. Stop. > > >sudo aptitude install gawk > > Setting up gawk (3.1.5.dfsg-4build1) ... > > indeed, you need awk. > > > >make > > .... > > ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c > > mlgsl_eigen.c: In function 'ml_gsl_eigen_nonsymm_alloc': > > mlgsl_eigen.c:152: error: 'gsl_eigen_nonsymm_workspace' undeclared > > (first use in this function) > > that's because your version of GSL is too old: ocamlgsl 0.6.0 requires GSL 1.9. > Either upgrade your GSL or use a previous version of ocamlgsl. > > Btw I'm pretty sure Debian has a package for ocamlgsl ... > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: ocamlgsl-0.6.0. fails to compile on ubuntu 2007-11-12 12:22 ` Olivier Andrieu 2007-11-12 14:09 ` Alex Mikhalev @ 2007-11-12 14:15 ` Sylvain Le Gall 1 sibling, 0 replies; 6+ messages in thread From: Sylvain Le Gall @ 2007-11-12 14:15 UTC (permalink / raw) To: caml-list On 12-11-2007, Olivier Andrieu <oandrieu@nerim.net> wrote: > Hi, > > On Nov 12, 2007 1:06 PM, Mikhalev, Alex <a.mikhalev@cranfield.ac.uk> wrote: >> >> >> >> Dear All, >> Any help will be appreciated as well as suggestion to any docs or >> tutorial (I have seen README and website). All error messages and system >> configuration below. >> Regards, >> Alex >> >tar zxvf ocamlgsl-0.6.0.tar.gz >> >cd ocamlgsl-0.6.0/ >> >make >> /ocamlgsl-0.6.0$ make >> /bin/sh: gawk: not found >> /bin/sh: gawk: not found >> /bin/sh: gawk: not found >> Makefile:100: mingw.mak: No such file or directory >> /bin/sh: gawk: not found >> make: *** No rule to make target `mingw.mak'. Stop. >> >sudo aptitude install gawk >> Setting up gawk (3.1.5.dfsg-4build1) ... > > indeed, you need awk. > >> >make >> .... >> ocamlc -ccopt ' -DHAVE_INLINE -DHAVE_FENV -g -O2 ' -c mlgsl_eigen.c >> mlgsl_eigen.c: In function 'ml_gsl_eigen_nonsymm_alloc': >> mlgsl_eigen.c:152: error: 'gsl_eigen_nonsymm_workspace' undeclared >> (first use in this function) > > that's because your version of GSL is too old: ocamlgsl 0.6.0 requires GSL 1.9. > Either upgrade your GSL or use a previous version of ocamlgsl. > > Btw I'm pretty sure Debian has a package for ocamlgsl ... > Debian has ocamlgsl 0.6.0, and it build-depends on gawk (and libgsl0) Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 5), dpatch, ocaml-nox (>= 3.10.0-9), ocaml-findlib (>= 1.1.2pl1-4), libgsl0-dev, chrpath, gawk, dpkg-dev (>= 1.13.19), camlp4 (>= 3.10.0) http://packages.qa.debian.org/o/ocamlgsl.html http://buildd.debian.org/pkg.cgi?pkg=ocamlgsl (libgsl0 is 1.9) Ubuntu people can take a look at build log, if they want to see everything which is require to build ocamlgsl (using ocaml 3.10.0) Regards, Sylvain Le Gall ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-11-12 14:15 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <AcglJM3yhgcnJfMbSXa2FAfGwexJyQ==> 2007-11-12 12:06 ` ocamlgsl-0.6.0. fails to compile on ubuntu Mikhalev, Alex 2007-11-12 12:15 ` [Caml-list] " Erik de Castro Lopo 2007-11-12 12:14 ` Mikhalev, Alex 2007-11-12 12:22 ` Olivier Andrieu 2007-11-12 14:09 ` Alex Mikhalev 2007-11-12 14:15 ` Sylvain Le Gall
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox