Undefined symbol g_strv_length when installing Mono on Solaris 10 x86 - unix

I am trying to install Mono on Solaris 10 x86 and I run the following commands before encountering an error:
bash-3.00# ./configure --prefix=/usr
bash-3.00# gmake install
.
. (lots of stuff)
.
Making install in test
gmake[2]: Entering directory `/mnt/sf_VMShare/mono-3.2.8/eglib/test'
CCLD test-glib
Undefined first referenced
symbol in file
g_strv_length test_glib-string-util.o
ld: fatal: Symbol referencing errors. No output written to test-glib
collect2: ld returned 1 exit status
gmake[2]: *** [test-glib] Error 1
gmake[2]: Leaving directory `/mnt/sf_VMShare/mono-3.2.8/eglib/test'
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory `/mnt/sf_VMShare/mono-3.2.8/eglib'
gmake: *** [install-recursive] Error 1
bash-3.00#
I tried uninstalling everything to do with glib and then installing glib-2.6.2-sol10-intel-local.gz
bash-3.00# pkginfo | grep glib
application SMCglib glib
The version of mono is mono-3.2.8

Related

why make command is not working in solaris 11 server?

I am trying to build a package in my solaris 11 server. I am using 'make'command for that and not able to build package
have already tried below commands:-
1)make
2)sudo make
3)make package
The error I am getting
bash-4.4$ make
cc -c timeout.c
sh: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `timeout.o'
bash-4.4$ sudo make
cc -c timeout.c
sh: cc: not found
*** Error code 127
make: Fatal error: Command failed for target `timeout.o'
bash-4.4$ ^C
bash-4.4$ ^C
bash-4.4$
sh: cc: not found means you do not have a program named cc found in your $PATH, so it can't figure out what C compiler you want it to run.
If you've installed the Oracle Developer Studio compilers, then you need to add the path to them to your $PATH environment variable.
If you're using gcc instead, you probably need to run make CC=gcc to set the CC variable to the name of the compiler you want to use.

Qt move label with mouse

So here's the thing: I downloaded the Qt 4.7 tar and I'm installing on Ubuntu 16. I unzip the downloaded folder and installed all libs that were preventing me to run the ./configure
After I could run the configure, the make runs but get an error at some point. Here's what I get when I run 'make configure' or 'make':
root#ubuntu:/home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0# make configure
/home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0/bin/qmake -spec mkspecs/linux-g++-64 -o Makefile projects.pro
make: /home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0/bin/qmake: Command not found
Makefile:1063: recipe for target 'Makefile' failed
make: *** [Makefile] Error 127
root#ubuntu:/home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0# make
/home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0/bin/qmake -spec mkspecs/linux-g++-64 -o Makefile projects.pro
make: /home/gimenes/Downloads/qt-everywhere-opensource-src-4.7.0/bin/qmake: Command not found
Makefile:1063: recipe for target 'Makefile' failed
make: *** [Makefile] Error 127
I really appreciate the help, Ty :D

src/teamcity/teamcity_boost.cpp:22:47: fatal error: boost/test/unit_test_suite_impl.hpp: No such file or directory

I am trying to install ignite odbc driver, I have installed ignite following these steps
https://apacheignite.readme.io/docs/getting-started#installation
# Unpack the source package
$ unzip -q apache-ignite-{version}-src.zip
$ cd apache-ignite-{version}-src
# Build In-Memory Data Fabric release (without LGPL dependencies)
$ mvn clean package -DskipTests
# Build In-Memory Data Fabric release (with LGPL dependencies)
$ mvn clean package -DskipTests -Prelease,lgpl
# Build In-Memory Hadoop Accelerator release
# (optionally specify version of hadoop to use)
$ mvn clean package -DskipTests -Dignite.edition=hadoop [-Dhadoop.version=X.X.X]
After that, added IGNITE_HOME path pointing to ignite directory. Also installed ODBC driver manager http://www.unixodbc.org/
After that, followed these steps,
http://apacheignite.gridgain.org/docs/odbc-driver#section-building-on-linux
But I get this error at "make"
In file included from src/statement.cpp:29:0:
./include/ignite/odbc/statement.h:614:18: warning: ‘template<class> class std::auto_ptr’ is deprecated [-Wdeprecated-declarations]
std::auto_ptr<query::Query> currentQuery;
^
In file included from /usr/include/c++/5/bits/locale_conv.h:41:0,
from /usr/include/c++/5/locale:43,
from /usr/include/c++/5/iomanip:43,
from ../common/include/ignite/guid.h:27,
from ./include/ignite/odbc/app/application_data_buffer.h:25,
from ./include/ignite/odbc/diagnostic/diagnostic_record_storage.h:27,
from ./include/ignite/odbc/diagnostic/diagnosable.h:21,
from ./include/ignite/odbc/query/query.h:25,
from ./include/ignite/odbc/query/data_query.h:21,
from src/statement.cpp:19:
/usr/include/c++/5/bits/unique_ptr.h:49:28: note: declared here
template<typename> class auto_ptr;
^
CXX src/type_traits.lo
CXX src/utility.lo
CXXLD libignite-odbc.la
ar: `u' modifier ignored since `D' is the default (see `U')
make[3]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc'
make[2]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc'
Making all in odbc-test
make[2]: Entering directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
Making all in include
make[3]: Entering directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test/include'
make[3]: Nothing to be done for 'all'.
make[3]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test/include'
make[3]: Entering directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
CXX src/teamcity/teamcity_boost.o
src/teamcity/teamcity_boost.cpp:22:47: fatal error: boost/test/unit_test_suite_impl.hpp: No such file or directory
compilation terminated.
Makefile:625: recipe for target 'src/teamcity/teamcity_boost.o' failed
make[3]: *** [src/teamcity/teamcity_boost.o] Error 1
make[3]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
Makefile:661: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
Makefile:426: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp'
Makefile:358: recipe for target 'all' failed
make: *** [all] Error 2
I am using Ubuntu 16.04 and apache ignite 1.8.0 latest version with Java 8.
Update:
sudo apt-get install libboost-all-dev
libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
./configure --enable-odbc --disable-node --disable-core
make
src/row_test.cpp:192:18: warning: unused variable ‘rowNum’ [-Wunused-variable]
const size_t rowNum = 2;
^
CXX src/utility_test.o
CXX src/queries_test.o
In file included from ../core/include/ignite/cache/cache.h:40:0,
from ../core/include/ignite/ignite.h:26,
from src/queries_test.cpp:35:
../core/include/ignite/impl/cache/cache_impl.h:27:48: fatal error: ignite/impl/interop/interop_target.h: No such file or directory
compilation terminated.
Makefile:625: recipe for target 'src/queries_test.o' failed
make[3]: *** [src/queries_test.o] Error 1
make[3]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
Makefile:661: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp/odbc-test'
Makefile:426: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/me/install/apache-ignite/modules/platforms/cpp'
Makefile:358: recipe for target 'all' failed
make: *** [all] Error 2
Update 2: Running with disabling tets worked
libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
./configure --enable-odbc --disable-node --disable-core --disable-tests
make
make install
Though the installation is complete, still pdo connection throws exception
odbcinst -j
unixODBC 2.3.4
DRIVERS............: /usr/local/etc/odbcinst.ini
SYSTEM DATA SOURCES: /usr/local/etc/odbc.ini
FILE DATA SOURCES..: /usr/local/etc/ODBCDataSources
USER DATA SOURCES..: /home/me/.odbc.ini
SQLULEN Size.......: 8
SQLLEN Size........: 8
SQLSETPOSIROW Size.: 8
cat cat /usr/local/etc/odbcinst.ini
[Apache Ignite]
Description=Apache Ignite
Driver=/usr/local/lib/libignite-odbc.so
Setup=/usr/local/lib/libignite-odbc.so
DriverODBCVer=03.00
FileUsage=0
UsageCount=1
cat /usr/local/etc/odbc.ini - empty file - Do i need to add anything to it ? - Tried adding above config but same exception.
cat /home/me/.odbc.ini
[Apache Ignite]
Description=Apache Ignite
Driver=/usr/local/lib/libignite-odbc.so
DriverODBCVer=03.00
FileUsage=0
UsageCount=1
$ignite = $dbh = new \PDO('odbc:Apache Ignite');
$ignite->prepare('select * from Person');
[PDOException]
SQLSTATE[08001] SQLConnect: 0 [unixODBC]Failed to establish connection with the host.
As you are building ODBC from sources distribution, you should either install boost libraries or disable tests, as they use boost.
To install boost run:
sudo apt-get install libboost-all-dev
To disable tests do the following in the modules/platforms/cpp:
libtoolize && aclocal && autoheader && automake --add-missing && autoreconf
./configure --enable-odbc --disable-node --disable-core --disable-tests
make

Qt moc issue (moc.exe: command not found) while building Qwt with Qt 5 in Windows

Building Qwt with Qt 5 fails (with Qt 4 works) in Windows 7 64 bits. I tried via Qt Creator and via CLI but both ends in:
12:51:08: Running steps for project qwt...
12:51:08: Starting: "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\qmake.exe" C:\qwt-6.1.2\qwt.pro -r -spec win32-g++ "CONFIG+=debug"
Reading C:/qwt-6.1.2/src/src.pro
Reading C:/qwt-6.1.2/textengines/textengines.pro
Reading C:/qwt-6.1.2/doc/doc.pro
Reading C:/qwt-6.1.2/designer/designer.pro
Project MESSAGE: debug_and_release: building the Qwt designer plugin in release mode only
12:51:10: The process "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\qmake.exe" exited normally.
12:51:10: Starting: "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" -j3
cd src/ && ( test -e Makefile || C:/Qt/Qt5.3.2/5.3/mingw482_32/bin/qmake.exe C:/qwt-6.1.2/src/src.pro -spec win32-g++ CONFIG+=debug -o Makefile ) && C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile
mingw32-make[1]: Entering directory 'C:/qwt-6.1.2/src'
C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile.Debug all
C:/Qt/Qt5.3.2/Tools/mingw482_32/bin/mingw32-make -f Makefile.Release all
mingw32-make[2]: Entering directory 'C:/qwt-6.1.2/src'
mingw32-make[2]: Entering directory 'C:/qwt-6.1.2/src'
moc qwt_dyngrid_layout.h
moc qwt_magnifier.h
moc qwt_dyngrid_layout.h
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
/usr/bin/sh: C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\moc.exe: command not found
Makefile.Debug:455: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
mingw32-make[2]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 127
mingw32-make[2]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile.Release:455: recipe for target 'moc/moc_qwt_dyngrid_layout.cpp' failed
mingw32-make[2]: *** [moc/moc_qwt_dyngrid_layout.cpp] Error 127
mingw32-make[2]: *** Waiting for unfinished jobs....
mingw32-make[2]: *** [moc/moc_qwt_magnifier.cpp] Error 127
Makefile.Release:507: recipe for target 'moc/moc_qwt_magnifier.cpp' failed
mingw32-make[2]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile:38: recipe for target 'debug-all' failed
Makefile:52: recipe for target 'release-all' failed
mingw32-make[1]: Leaving directory 'C:/qwt-6.1.2/src'
Makefile:41: recipe for target 'sub-src-make_first-ordered' failed
mingw32-make[1]: *** [debug-all] Error 2
mingw32-make[1]: *** Waiting for unfinished jobs....
mingw32-make[1]: *** [release-all] Error 2
mingw32-make: *** [sub-src-make_first-ordered] Error 2
12:51:11: The process "C:\Qt\Qt5.3.2\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project qwt (kit: Desktop)
When executing step "Make"
12:51:11: Elapsed time: 00:03.
I tried to remove all Qt installations from the computer and re-install only qt-opensource-windows-x86-mingw482_opengl-5.3.2.exe but the issue persists.
Any suggestion?

Error in installing SimpleDB::Class

I try to install SimpleDB::Class from cpan as sudo cpan SimpleDB::Class. it needs a dependency Memcached::libmemcached. so i try to install it, but it have the following errors.
CCLD clients/memstat
CC tests/atomsmasher.o
CCLD tests/atomsmasher
CXX tests/tests_hashplus-hash_plus.o
./config/depcomp: line 611: exec: g++: not found
make[2]: *** [tests/tests_hashplus-hash_plus.o] Error 127
make[2]: Leaving directory `/home/vanitha/.cpan/build/Memcached-libmemcached-0.4406- Oq4Z_m/src/libmemcached'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/vanitha/.cpan/build/Memcached-libmemcached-0.4406- Oq4Z_m/src/libmemcached'
make: *** [install] Error 2
Unable to build libmemcached: Error running cd src/libmemcached && make install
Aborted.
No 'Makefile' created TIMB/Memcached-libmemcached-0.4406.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
could not read metadata file. Falling back to other methods to determine prerequisites
exec: g++: not found - this is the error
Try this first of all: sudo apt-get install g++

Resources