[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: 3.5 BRANCH KDevelop won't configure
From: James Richard Tyrer <tyrerj () acm ! org>
Date: 2006-07-23 10:19:09
Message-ID: 44C34D1D.7080801 () acm ! org
[Download RAW message or body]
David Faure wrote:
> On Saturday 22 July 2006 09:05, James Richard Tyrer wrote:
>> ./configure --prefix=/usr/kde-3 -C --disable-debug
>> --with-kdelibsdoxy-dir=/usr/kde-3/share/doc/HTML/en/kdelibs-apidocs
>> --with-db-dir=/usr/local/BerkeleyDB.4.1 --with-arts --with-alsa
>>
>> * * *
>>
>> checking for Berkeley DB >= 3... configure: error: no - please install
>> Berkeley DB >= 3 and <= 4.1
>
> Read config.log
>
There are multiple problems here and the first two do not require
reading the config.log (which I have read several times)
1. The option: "--with-db-dir=" appears to no longer work.
2. The error message is wrong. It will not build with Berkeley DB
4.1.x. So it should say "... Berkeley DB >= 3 and < 4.1".
I now find additional issues. Configuring with:
./configure --prefix=/usr/kde-3 -C --disable-debug
--with-kdelibsdoxy-dir=$KDEDIR/share/doc/HTML/en/kdelibs-apidocs
--with-arts --with-alsa
--with-db-includedir=/usr/local/BerkeleyDB.4.0/include
--with-db-libdir=/usr/local/BerkeleyDB.4.0/lib
does not work either with GCC-4.1.1:
Here the config.log is relevant:
conftest.cc: In function 'int main()':
conftest.cc:60: error: invalid conversion from 'int' to 'DBTYPE'
conftest.cc:60: error: too many arguments to function
configure:33496: $? = 1
It appears that there is a problem here:
| int
| main ()
| {
|
| #if DB_VERSION_MAJOR < 3
| choke me
| #else
| DB *db;
| db->open( db, 0, 0, NULL, DB_BTREE, DB_CREATE, 0644 );
| #endif
|
| ;
| return 0;
| }
Hacking the "configure" script results in it building.
--
JRT
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic