LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 01-08-2010, 12:16 AM   #1
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 291

Rep: Reputation: 33
Trouble Compiling GNumeric from Source


Just like the title suggests, trying to compile GNumeric from source into a .deb with the dpkg-buildpackage -rfakeroot -b -uc command.

However it fails with the following error message during the compile step:

Code:
.libs/xlsx-write.o: In function `xlsx_file_save':
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:1455: undefined reference to `g_type_check_instance_cast'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:1455: undefined reference to `gsf_output_close'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:1456: undefined reference to `g_object_unref'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:1458: undefined reference to `gnm_pop_C_locale'
.libs/xlsx-write.o: In function `xlsx_write_shared_strings':
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:154: undefined reference to `gsf_outfile_open_pkg_add_rel'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:155: undefined reference to `gsf_xml_out_new'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:157: undefined reference to `gsf_xml_out_start_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:158: undefined reference to `gsf_xml_out_add_cstr_unchecked'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:159: undefined reference to `gsf_xml_out_add_cstr_unchecked'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:160: undefined reference to `gsf_xml_out_add_int'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:161: undefined reference to `gsf_xml_out_add_int'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:164: undefined reference to `gsf_xml_out_start_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:165: undefined reference to `gsf_xml_out_start_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:167: undefined reference to `gsf_xml_out_add_cstr'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:168: undefined reference to `gsf_xml_out_end_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:169: undefined reference to `gsf_xml_out_end_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:172: undefined reference to `gsf_xml_out_end_element'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:174: undefined reference to `g_object_unref'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:175: undefined reference to `gsf_output_close'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:176: undefined reference to `g_object_unref'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:176: undefined reference to `g_direct_hash'
/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel/xlsx-write.c:176: undefined reference to `g_direct_equal'
collect2: ld returned 1 exit status
make[4]: *** [excel.la] Error 1
make[4]: Leaving directory `/home/jeff91/gnumeric/gnumeric-1.8.4/plugins/excel'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jeff91/gnumeric/gnumeric-1.8.4/plugins'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jeff91/gnumeric/gnumeric-1.8.4'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/jeff91/gnumeric/gnumeric-1.8.4'
make: *** [build-stamp] Error 2
Ideas/suggestions?
~Jeff
 
Old 01-08-2010, 02:52 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,290

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
'apt-get build-dep gnumeric'

.. will install all the required build dependencies.

Your errors : Probably a missing header.
But have a look at the 5...10 lines, where the errors
start, then you will see which. ( Usually.)

A missing libgsf-1-dev again ? ?
.....
 
Old 01-08-2010, 09:07 AM   #3
Jeff91
Bodhi Developer
 
Registered: Jan 2009
Location: Alsip, IL
Distribution: Bodhi and Maemo
Posts: 291

Original Poster
Rep: Reputation: 33
Quote:
Originally Posted by knudfl View Post
'apt-get build-dep gnumeric'
Wish I could do that - I am attempting to recompile GNumeric for Maemo 5.

I'll install that package you mentioned manually and see if it resolves my issue(s).

~Jeff
 
Old 01-08-2010, 02:12 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,290

Rep: Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350Reputation: 1350
Well then, you can see the dependency list here
http://packages.debian.org/source/sid/gnumeric
.. dependedcies are marked with red dots.
'debhelper', 'dh-buildinfo', 'po-debconf'
can be omitted.

( libgsf is included.)

.....

Last edited by knudfl; 01-08-2010 at 02:13 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble Compiling Abiword from Source Jeff91 Linux - General 6 01-08-2010 03:33 AM
trouble compiling from source in Ubuntu 8.10 -C++ zadclu Linux - Newbie 1 01-05-2009 06:03 PM
Compiling a Slackware package from source vs Compiling from source. empcrono Slackware 5 09-26-2008 06:09 PM
trouble compiling xmms mp4 plugin from source: "no such file.." mayasedai Linux - Software 3 02-01-2005 11:13 AM
compiling software from source...how do i delete the folder w/ source? webazoid Linux - Software 2 07-01-2004 09:09 PM


All times are GMT -5. The time now is 11:39 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration