bugGNUstep - Bugs: bug #24955, [GWorkspace] Does not build...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24955: [GWorkspace] Does not build without SQLite

Submitted by:  Stef <stefanbidi>
Submitted on:  Thu 27 Nov 2008 02:36:44 PM UTC  
 
Category: ApplicationSeverity: 3 - Normal
Item Group: InstallationStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

(Jump to the original submission Jump to the original submission)

Fri 11 Jun 2010 12:24:43 AM UTC, comment #12:

I made the compilation of the metadata subproject now optional.

Conversely, if it is enabled, it then builds and installs by default.

Sqlite is found on all my machines, so I can't reproduce that error.

Riccardo Mottola <rmottola>
Project Member
Wed 14 Oct 2009 12:04:49 AM UTC, comment #11:

Yep, you were right! I had the wrong version installed (did realize there was a libsqlite3 and libsqlite0).

Stef <stefanbidi>
Project Member
Tue 13 Oct 2009 10:24:47 PM UTC, comment #10:

Not yet, sorry. I was just on that system but forgot. I'll get you an answer by the end of tomorrow.

Stef <stefanbidi>
Project Member
Tue 13 Oct 2009 08:02:56 PM UTC, comment #9:

Have you done a test? Please check that you have the correct 3.x sqlite packages installed.

I tried on another debian and it worked like a charme.

Riccardo Mottola <rmottola>
Project Member
Sun 11 Oct 2009 09:14:43 PM UTC, comment #8:

Hmm, I don't know. I just tried on my debian test-box. I tried with SVN trunk of GWorkspace. I tried on a standard debian squeeze/sid which I just updated before rerunning configure.

checking for stdint.h... yes
checking for unistd.h... yes
checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_get_table in -lsqlite3... yes
sqlite3 version number 3006018
configure: creating ./config.status
config.status: creating GNUmakefile

The packages I have installed are:

dpkg --list | grep sqlite
ii libsqlite3-0 3.6.18-1 SQLite 3 shared library
ii libsqlite3-dev 3.6.18-1 SQLite 3 development files

I think you installed a different sqlite package? do you have the library and the dev package consistent in version?

Riccardo Mottola <rmottola>
Project Member
Fri 09 Oct 2009 11:00:21 PM UTC, comment #7:

Just an update. I installed GWorkspace on Debian yesterday with libsqlite-dev. GWorkspace's configure script still doesn't pick up the header because it will look for sqlite3.h and Debian installs to sqlite.h (or the other way around, can't remember now). I linked the provided header to the one GWorkspace is looking for, but it still fails to configure, it can't link with the function it's using as a test.

Stef <stefanbidi>
Project Member
Tue 06 Jan 2009 02:46:12 AM UTC, comment #6:

I got an error after submitting the last message yesterday and want to make sure it gets captured.

Stef <stefanbidi>
Project Member
Sun 04 Jan 2009 02:45:11 AM UTC, comment #5:

Slackware 12.2 has sqlite3 installed by default and ./configure finds sqlite3.h, however, it errors right afterward claiming the function sqlite3_get_table was not found.

checking sqlite3.h usability... yes
checking sqlite3.h presence... yes
checking for sqlite3.h... yes
checking for sqlite3_get_table in -lsqlite3... no

  • GWMetadata requires the sqlite3 library
  • Use --with-sqlite-library and --with-sqlite-include
  • to specify the sqlite library directory if it is not
  • in the usual place(s)

I checked sqlite3.h and the function is declared in there, so I'm not sure what's going on here.

Stef <stefanbidi>
Project Member
Sun 07 Dec 2008 04:20:49 PM UTC, comment #4:

Not a great solution, but I hacked the configure.ac script to do sqlite stuff last ... so it will successfully configure everything else and bomb out on sqlite. Then you can just type make install.

Richard Frith-Macdonald <CaS>
Project Member
Sun 30 Nov 2008 10:20:12 PM UTC, comment #3:

The only way I've managed to compile it is by renaming GWMetadata's configure script to something else (like 'configure_backup') and do ./configure at the top level again. It just overrides that dir completely when it doesn't find a configure script.

Stef <stefanbidi>
Project Member
Sun 30 Nov 2008 08:58:16 PM UTC, comment #2:

I just wanted to add that it is this configuration problem that is preventing me to investigate another issue myself.

If there is a way to get GWorkspace to compile without installing SQLlite, this would help me.

Fred Kiefer <FredKiefer>
Project Member
Thu 27 Nov 2008 10:29:15 PM UTC, comment #1:

truly so. The check is now enforced correctly. Previously it was unreliable. Ehen I asked Enrico back then to make it optional, he didn't. When I remade the build system, all subprojects are reliably traversed and thus sqlite is always checked for.
In the future maybe it can be made truly optional with a flag "disable" to make it clear that it is explicit.

Riccardo Mottola <rmottola>
Project Member
Thu 27 Nov 2008 02:36:44 PM UTC, original submission:

For some reason GWorkspace no longer configures if sqlite3.h is not found. This happens when trying to configure GWMetadata... I, personally, do not want to build that subproject since I don't use it, but the configure system will not let me build GWorkspace without it.

Currently, what I have to do is rename GWMetadata/configure in and run configure again so the subproject will be skipped during config.

Stef <stefanbidi>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by CaS (Posted a comment)
  • -unavailable- added by FredKiefer (Posted a comment)
  • -unavailable- added by rmottola (Posted a comment)
  • -unavailable- added by stefanbidi (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 18 Jun 2010 11:22:13 AM UTCrmottolaOpen/ClosedIn Test=>Closed
    Fri 11 Jun 2010 12:24:43 AM UTCrmottolaOpen/ClosedOpen=>In Test
    Sun 04 Jan 2009 02:45:10 AM UTCstefanbidiPrivacyPublic=>Public

    Back to the top


    Powered by Savane 3.1-cleanup1