[SOLVED] installation problems xlslib for use with codeblocks under Linux Mint
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
installation problems xlslib for use with codeblocks under Linux Mint
Hi,
I'm an old XP-user who installed Linux Mint beside XP and would like to do some C++ development on Linux with CodeBlocks.The first application I want to write should be able to read/write contents from and to an xls-file (I want to convert an application I wrote with Excel macro's and VBA).
I found xlslib on sourceforge, downloaded it, and started the installation (in a terminal: "./configure" followed by "make" and "make install").
From the obtained output (see below) I deduce there is a problem when executing "make" and "make install". I don't find an issue, can anyone help me?
-----------------------------------------------------------------------
Congratulations, your xlslib 2.4.0 is configured now.
You can now build and install xlslib using the Makefile, by calling
$ make
Before running
$ make install
you may wish to test the newly built binary by running
$ make check
Any unacceptable mistakes will be reported and cause the 'check' run to abort.
make dist-bzip2 dist-gzip dist-zip dist-tarZ am__post_remove_distdir='@:'
make[1]: entrant dans le répertoire « /home/w/xlslib/xlslib »
NEWS not updated; not releasing
make[1]: *** [distdir] Erreur 1
make[1]: quittant le répertoire « /home/w/xlslib/xlslib »
make: *** [dist] Erreur 2
w-desktop xlslib # make
Making all in src
make[1]: entrant dans le répertoire « /home/w/xlslib/xlslib/src »
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src/common -I../src/data -I../src/oledoc -I../src/common -I../src/xlslib -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MT assert_assist.lo -MD -MP -MF .deps/assert_assist.Tpo -c -o assert_assist.lo `test -f 'xlslib/assert_assist.cpp' || echo './'`xlslib/assert_assist.cpp
xlslib/assert_assist.cpp: line 1: /bin: Is a directory
xlslib/assert_assist.cpp: line 2: HPSF.lo: command not found
xlslib/assert_assist.cpp: line 3: HPSF.lo: command not found
xlslib/assert_assist.cpp: line 4: syntax error near unexpected token `('
xlslib/assert_assist.cpp: line 4: ` * for dynamic generation of Excel(TM) files.'
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../src/common -I../src/data -I../src/oledoc -I../src/common -I../src/xlslib -g -O2 -Wall -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -MT assert_assist.lo -MD -MP -MF .deps/assert_assist.Tpo -c "" -fPIC -DPIC -o .libs/assert_assist.o
g++: error: : No such file or directory
g++: fatal error: no input files
compilation terminated.
make[1]: *** [assert_assist.lo] Erreur 1
make[1]: quittant le répertoire « /home/w/xlslib/xlslib/src »
make: *** [all-recursive] Erreur 1
--------------------------------------------------------------------
hi knudfl,
First, thank you for your help!
1)The linux version is linux mint 17 Qiana :
w-desktop xlslib # uname -m
i686
w-desktop xlslib # cat /etc/issue
Linux Mint 17 Qiana \n \l
2)I executed your suggested
apt-get install g++-4.4
and
xlslib/ :
$ export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make
and after that the make install.
I think it is OK now (see part of output of the last command beneath) :
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/bin/mkdir -p '/usr/local/include/xlslib'
/bin/mkdir -p '/usr/local/include/xlslib/oledoc'
/usr/bin/install -c -m 644 oledoc/binfile.h oledoc/oledoc.h oledoc/olefs.h oledoc/oleprop.h '/usr/local/include/xlslib/oledoc'
/bin/mkdir -p '/usr/local/include/xlslib/common'
/usr/bin/install -c -m 644 common/xlconfig.h common/xlsys.h common/stringtok.h common/systype.h common/timespan.h common/xls_poppack.h common/xls_pshpack1.h common/xls_pshpack2.h common/xls_pshpack4.h common/xlstypes.h '/usr/local/include/xlslib/common'
/bin/mkdir -p '/usr/local/include/xlslib/xlslib'
/usr/bin/install -c -m 644 xlslib/biffsection.h xlslib/blank.h xlslib/boolean.h xlslib/cell.h xlslib/colinfo.h xlslib/colors.h xlslib/common.h xlslib/continue.h xlslib/datast.h xlslib/docsumminfo.h xlslib/err.h xlslib/extformat.h xlslib/font.h xlslib/format.h xlslib/formula.h xlslib/formula_cell.h xlslib/formula_const.h xlslib/formula_expr.h xlslib/formula_estimate.h xlslib/globalrec.h xlslib/HPSF.h xlslib/index.h xlslib/label.h xlslib/merged.h xlslib/note.h xlslib/number.h xlslib/range.h xlslib/recdef.h xlslib/record.h xlslib/rectypes.h xlslib/row.h xlslib/sheetrec.h xlslib/summinfo.h xlslib/unit.h xlslib/workbook.h '/usr/local/include/xlslib/xlslib'
/bin/mkdir -p '/usr/local/include/xlslib'
/usr/bin/install -c -m 644 xlslib.h '/usr/local/include/xlslib'
make[2]: quittant le répertoire « /home/w/xlslib/xlslib/src »
make[1]: quittant le répertoire « /home/w/xlslib/xlslib/src »
Making install in targets
make[1]: entrant dans le répertoire « /home/w/xlslib/xlslib/targets »
Making install in test
make[2]: entrant dans le répertoire « /home/w/xlslib/xlslib/targets/test »
make[3]: entrant dans le répertoire « /home/w/xlslib/xlslib/targets/test »
make[3]: Rien à faire pour « install-exec-am ».
make[3]: Rien à faire pour « install-data-am ».
make[3]: quittant le répertoire « /home/w/xlslib/xlslib/targets/test »
make[2]: quittant le répertoire « /home/w/xlslib/xlslib/targets/test »
make[2]: entrant dans le répertoire « /home/w/xlslib/xlslib/targets »
make[3]: entrant dans le répertoire « /home/w/xlslib/xlslib/targets »
make[3]: Rien à faire pour « install-exec-am ».
make[3]: Rien à faire pour « install-data-am ».
make[3]: quittant le répertoire « /home/w/xlslib/xlslib/targets »
make[2]: quittant le répertoire « /home/w/xlslib/xlslib/targets »
make[1]: quittant le répertoire « /home/w/xlslib/xlslib/targets »
make[1]: entrant dans le répertoire « /home/w/xlslib/xlslib »
make[2]: entrant dans le répertoire « /home/w/xlslib/xlslib »
make[2]: Rien à faire pour « install-exec-am ».
make[2]: Rien à faire pour « install-data-am ».
make[2]: quittant le répertoire « /home/w/xlslib/xlslib »
make[1]: quittant le répertoire « /home/w/xlslib/xlslib »
Can you confirm all is all right now ?
Thank you very much!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.