trouble while making install monetdb5 - monetdb

I've the following error when running make while installing monetdb5
make[9]: Entering directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
/bin/bash ../../../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I../../../.. -I. -I../ -I./../ -I../../../mal -I./../../../mal -I../../../optimizer -I./../../../optimizer -I../../../../common/options -I./../../../../common/options -I../../../../common/stream -I./../../../../common/stream -I../../../../gdk -I./../../../../gdk -DLIBJAQLP -g -O2 -c -o libjaqlp_la-jaql.tab.lo `test -f 'jaql.tab.c' || echo './'`jaql.tab.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../../.. -I. -I../ -I./../ -I../../../mal -I./../../../mal -I../../../optimizer -I./../../../optimizer -I../../../../common/options -I./../../../../common/options -I../../../../common/stream -I./../../../../common/stream -I../../../../gdk -I./../../../../gdk -DLIBJAQLP -g -O2 -c jaql.tab.c -fPIC -DPIC -o .libs/libjaqlp_la-jaql.tab.o
y.tab.c: In function 'jaqlparse':
y.tab.c:1684:32: error: 'scanner' undeclared (first use in this function)
y.tab.c:1684:32: note: each undeclared identifier is reported only once for each function it appears in
make[9]: *** [libjaqlp_la-jaql.tab.lo] Error 1
make[9]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
make[8]: *** [all] Error 2
make[8]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql/parser'
make[7]: *** [all-recursive] Error 1
make[7]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql'
make[6]: *** [all] Error 2
make[6]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras/jaql'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5/extras'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/lfopa/opt/monetdb/monetdb5'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/lfopa/opt/monetdb'
make: *** [all] Error 2
The configuration was good according to the readme file here are last line of the configuration
* Enabled/disabled build options:
strict is disabled (by default)
assert is disabled (by default)
debug is disabled (by default)
optimize is disabled (by default)
developer is disabled (by default)
instrument is disabled (by default)
profile is disabled (by default)
* Enabled/disabled components:
gdk is enabled
monetdb5 is enabled
sql is enabled
jaql is enabled
geom is disabled (geos library required for geom module)
gsl is enabled
fits is disabled (cfitsio library not found)
rdf is disabled (by default)
datacell is disabled (by default)
odbc is enabled
jdbc is enabled
control is enabled
testing is enabled

According to the error message. The trouble occurs when compiling jaqlparse which is a function needed to install the extension jaql. Since I'm not interesting by this extension, I solved the problem by disablingjaql` extension when configuring monetdb
./configure --diseable-jaql
sudo make
sudo make install

Related

Unable to install Openfst using 'make install'

I'm Trying to install openfst for a speech recognition project and after ./configure when
I try 'sudo make install' I get the following traceback
P -MF .deps/util.Tpo -c util.cc -fPIC -DPIC -o .libs/util.o
util.cc:23:10: fatal error: charconv: No such file or directory
#include <charconv>
^~~~~~~~~~
compilation terminated.
make[2]: *** [util.lo] Error 1
make[2]: Leaving directory `/home/ec2-user/openfst-1.8.2/src/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/ec2-user/openfst-1.8.2/src'
make: *** [install-recursive] Error 1
I'm trying this in an ec2 instance or is there any other means to install openfst. As I require it to use montreal-forced-aligner

Updating GCC, received errors during 'make'

I'm trying to update GCC on a computer running RHEL6.6-server edition in my lab. I keep receiving errors after running the 'make' command. Here's some of the code:
/usr/bin/ld: /usr/local/GCC-5.1.0/gcc-build/./gmp/.libs /libgmp.a(mp_set_fns.o): relocation R_X86_64_32 against `__gmp_default_allocate' can not be used when making a shared object; recompile with -fPIC
/usr/local/GCC-5.1.0/gcc-build/./gmp/.libs/libgmp.a: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[6]: *** [libjavamath.la] Error 1
make[6]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native/jni/java-math'
make[6]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native/jni'
/bin/sh ../../scripts/check_jni_methods.sh
make[6]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native/jni'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native/jni'
make[5]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/native'
Making all in resource
make[4]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/resource'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/resource'
Making all in scripts
make[4]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/scripts'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/scripts'
Making all in tools
make[4]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/tools'
make all-am
make[5]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/tools'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/tools'
make[4]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath/tools'
make[4]: Entering directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath'
true DO=all multi-do # make
make[4]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava/classpath'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build/x86_64-unknown-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/usr/local/GCC-5.1.0/gcc-build'
make: *** [all] Error 2
I saw another question on here where two of the poster's errors were the same ones I have and the answer was to install makeinfo in the texinfo package. I installed that package and the above code is what I received after running the 'make' command again.
I'm not sure what error libjavamath.la is, but I'm assuming it's a file that I need in order to complete 'make.' The other error is all-recursive and I have no clue what it could mean.
Follow the simple instructions at https://gcc.gnu.org/wiki/InstallingGCC and unless you actually need the Java compiler you should configure with --enable-languages=c,c++,fortran (or whatever set of languages you do want, without Java).
libjavamath.la is a library built as part of the GCJ Java compiler, but if you don't care about using GCJ then you can (and IMHO should) configure GCC without it. That will solve any problems that happen when building libjavamath.la, because it won't be built.
I configured as:
./configure --disable-shared --enable-languages=all --enable-threads=posix --enable-libgomp --enable-lto --enable-tls --with-fpmath=sse --disable-multilib --build=x86_64-redhat-linux --with-system-zlib --enable-gnu-unique-object --with-mpc=/usr/local/ --with-java-home=/usr/java/jdk1.7.0_79/ --enable-java-awt=gtk --enable-__cxa_atexit
You should try it.

libvorbis.so error adding symbols: DSO missing from command line

I have a next error when do make on zaz game on a linux mint 17.1 (Rebecca) with a drivers NVIDIA G98 GeForce 8400
make all-recursive
make[1]: Entering directory `/home/miguel/tmp/zaz-1.0.0'
Making all in po
make[2]: Entering directory `/home/miguel/tmp/zaz-1.0.0/po'
make[2]: Leaving directory `/home/miguel/tmp/zaz-1.0.0/po'
Making all in src
make[2]: Entering directory `/home/miguel/tmp/zaz-1.0.0/src'
g++ -g -O2 -o zaz main.o audiobuffer.o mixer.o oggsample.o scene.o settings.o wavesample.o streamingoggsample.o frame_events.o ogvexport.o bezier.o textureloader.o player.o level.o ballpath.o game.o editor.o mainmenu.o menu.o gameloop.o hiscores.o lineeditor.o tests.o profile.o directorylister.o levelset.o splash.o -lSDL -lvorbisfile -ltheoraenc -ltheoradec -logg -lftgl -lGL -lvorbisenc -lSDL_image
/usr/bin/ld: ogvexport.o: undefined reference to symbol 'vorbis_bitrate_addblock'
//usr/lib/i386-linux-gnu/libvorbis.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [zaz] Error 1
make[2]: Leaving directory `/home/miguel/tmp/zaz-1.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/miguel/tmp/zaz-1.0.0'
make: *** [all] Error 2
I Have installed lib vorbis
libvorbis-dbg:i386 install
libvorbis-dev:i386 install
libvorbis-ocaml install
libvorbis-ocaml-dev install
libvorbis0a:i386 install
libvorbisenc2:i386 install
libvorbisfile3:i386 install
libvorbisidec1 install
With other computer like same features not have a same problem, but the other computer don't have a nvidia card.
Thank for your help.
Tanks, I have resolv the problem change Makefile.ini after read this page:
https://www.mail-archive.com/debian-bugs-dist#lists.debian.org/msg1278320.html

Error building pkg-config-0.28 on OS X 10.8

I'm new to Mac and trying to build pkg-config-0.28 on OS X 10.8. I was able to configure successfully using:
./configure CC="gcc -arch i386 -arch x86_64" CXX="g++ -arch i386 -arch x86_64" CPP="gcc -E" CXXCPP="g++ -E" --with-internal-glib
I tried the "--with-internal-glib" after getting an error saying glib not found.
But now I'm getting the following error when I entered:
$ make -j8
Error message:
> CC gvarianttype.lo
CC gversion.lo
CC gwakeup.lo
CC gprintf.lo
CC glib-unix.lo
CC gthread-posix.lo
CC giounix.lo
gutils.c: In function 'find_folder':
gutils.c:1423: warning: 'FSFindFolder' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Folders.h:290)
CC gspawn.lo
echo > glib-public-headers.txt.tmp && mv glib-public-headers.txt.tmp glib-public-headers.txt
lipo: can't figure out the architecture type of: /var/folders/wn/zc31626x5mz7w57dq6cf8f7w0000gn/T//cczwFoWN.out
make[6]: *** [gvariant.lo] Error
make[6]: *** Waiting for unfinished jobs....
make[5]: *** [all-recursive] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Before that, I installed pkg-config-0.26 from a .pkg file but the problem is, it shows install successful but when I enter "pkg-config" in the terminal it says command not found. For this reason I thought of building from the latest release.
I really need this for building/compiling an opencv project. Now how I can get pkg-config to work? Please help.

building GCC on ARM: undefined reference to `ggc_alloc_zone_vec_rtvec_def'

I'm trying to compile GCC on synology DS109 NAS disk which is powered by Marvell Kirkwood mv6281 ARM Processor.
It is currently running quite outdated GCC 4.2.3 which is the newest vesion that I found for it in binaries.
I tried GCC 4.7.1 and 4.6.3 both with same result during make phase:
build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o build/vec.o
build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/read-md.o
build/errors.o ../build-armv5tel-unknown-linux-gnueabi/libiberty/libiberty.a
build/rtl.o: In function `rtvec_alloc':
/volume1/public/gcc-4.6.3/build/gcc/../../gcc-4.6.3/gcc/rtl.c:153: undefined reference
to `ggc_alloc_zone_vec_rtvec_def'
collect2: ld returned 1 exit status
make[3]: *** [build/genflags] Error 1
make[3]: Leaving directory `/volume1/public/gcc-4.6.3/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/volume1/public/gcc-4.6.3/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/volume1/public/gcc-4.6.3/build'
make: *** [all] Error 2
configure was runed normally complaining only about missing tr but not giving any error.
I'm building dependecies (gmp & comp.) also with gcc using vesions downloaded by download_prerequisities script which is comming with GCC.
I also tried v4.5.4 with no luck but different error message:
gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.5.4/gcc -I../../gcc-4.5.4/gcc/. -I../../gcc-4.5.4/gcc/../include -I../../gcc-4.5.4/gcc/../libcpp/include -I/volume1/public/gcc-4.5.4/build/./gmp -I/volume1/public/gcc-4.5.4/gcc-4.5.4/gmp -I/volume1/public/gcc-4.5.4/build/./mpfr -I/volume1/public/gcc-4.5.4/gcc-4.5.4/mpfr -I/volume1/public/gcc-4.5.4/gcc-4.5.4/mpc/src -I../../gcc-4.5.4/gcc/../libdecnumber -I../../gcc-4.5.4/gcc/../libdecnumber/dpd -I../libdecnumber ../../gcc-4.5.4/gcc/c-lang.c -o c-lang.o
../../gcc-4.5.4/gcc/c-lang.c:58:21: error: gtype-c.h: No such file or directory
make[3]: *** [c-lang.o] Error 1
make[3]: Leaving directory `/volume1/public/gcc-4.5.4/build/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/volume1/public/gcc-4.5.4/build'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/volume1/public/gcc-4.5.4/build'
make: *** [all] Error 2
Can anyone please give me any clue what I should try out?

Resources