LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-25-2014, 11:04 AM   #1
wllefeb
LQ Newbie
 
Registered: May 2014
Posts: 2

Rep: Reputation: Disabled
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
--------------------------------------------------------------------
 
Old 09-26-2014, 09:06 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Which version of "Linux Mint" are you using ?
a) $ uname -m
b) $ cat /etc/issue

``xlslib 2.4.0´´ :
$ unzip xlslib-package-2.4.0.zip
$ cd xlslib/xlslib/
$ ./configure
$ make
$ sudo make install

I have no "make issues", see the attached `make__log.txt.gz´,
attached as make__log.txt.gz.txt
-
Attached Files
File Type: txt make__log.txt.gz.txt (3.1 KB, 24 views)
 
Old 09-27-2014, 06:45 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Testing xlslib with Ubuntu 14.04, 32bits and 64bits :

It appears that `xlslib´ will choke with the {Mint, Ubuntu}
supplied compilers g++, versions 4.6 .. 4.8 .

Solution : $ sudo apt-get install g++-4.4

xlslib/ :
$ export CC=gcc-4.4 CXX=g++-4.4 && ./configure && make


-

Last edited by knudfl; 09-27-2014 at 06:52 AM.
 
Old 09-27-2014, 12:24 PM   #4
wllefeb
LQ Newbie
 
Registered: May 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
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!
 
Old 09-27-2014, 01:14 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Quote:
make[1]: quittant le répertoire « /home/w/xlslib/xlslib »
" make [1]: Leaving "/ home / w / xlslib / xlslib" directory "

Thats OK . By errors, the word "Error" will appear.



-

Last edited by knudfl; 09-27-2014 at 01:17 PM.
 
  


Reply

Tags
xlslib



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver installation problems on Pavilion dv6 for Linux Mint version 15 Fourty Two Linux - Laptop and Netbook 2 01-09-2014 03:05 PM
[SOLVED] Mint 13 Installation Problems TooTall Linux Mint 7 08-18-2013 08:13 AM
Installation problems with Linux Mint 10! Fedorov91 Linux - Newbie 17 05-11-2011 05:58 AM
Linux Mint 10 Installation GJQ Linux - Newbie 10 12-16-2010 07:52 PM
re installation of grub in Linux mint after installing xp over mint sampad.sarangi General 1 01-15-2008 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration