Re: Ubuntu install question

<[email protected]> Sun, 17 Aug 2008 18:19:00 -0600
Newsgroups gmane.text.refdb.general
Message-ID <20080818001904.JWR27399.to5email1.gprs.rogers.com@COM>
I was wondering if it might not be a good idea to have a 'stable' branch of refdb--most of the dependency errors seem unimportant and I really wonder if the slightly older versions of the required files that ship with ubuntu, for example, wouldn't in most cases work anyway. And it is not knowing which errors are important and which are not that causes me all the grief, any way.

-----Original Message-----

From:  "Markus Hoenicka" <[email protected]>
Subj:  Re: [Refdb-users] Ubuntu install question
Date:  Sun 17 Aug 2008 14:44
Size:  2K
To:  [email protected]
cc:  [email protected], [email protected]

Daniel Paul O'Donnell writes:
 > I spent all day today on a fresh ubuntu install, but come to grief with
 > the libdbd dependencies. I simply can't get a working version of the 0.8
 > version and ubuntu ships with a 7.3 version. When building from source I
 > get a 
 > 
 > config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
 > setting
 > 

AFAIK this warning is safe to ignore at this time, as it simply says
the Makefiles do not yet make use of a feature which was added to the
autotools just recently. I see this warning too on FreeBSD without
getting into trouble. This also explains why setting this variable
does not alter the results.

 > I've tried setting datarootdir, leaving it default, and nothing changes.
 > I've tried with and without --prefix set. I can see that the drivers are
 > in the right places, but I can never complete a build.

Just to make sure: do you manage to build and install libdbi and
libdbi-drivers 0.8.x?

What are exactly the error messages that indicate you can't build
RefDB? The only dependency at build time is a libdbi.a file in your
linker's search path. If you build libdbi from the sources without
fiddling with the prefix, the library files will end up in the
/usr/local hierarchy which, to the best of my knowledge, is not part
of the default library search path of Debian. You should be able to
fix this by setting LDFLAGS appropriately in your environment before
running configure and make.

 > 
 > I've tried building from source, and tried from the debs. Nothing works
 > for me.
 > 
 > I know this is a difficulty everybody is aware of and has tried to
 > address: but boy I wish there were an easier way to get refdb installed!
 > 

I had wished that packaging libdbi and RefDB would solve these
problems once and for all. But it seems were not there yet.

Please feel free to throw further details of your build problems my
way. I've got a spare box under my desk which currently runs a
stripped-down Debian. I could wipe that and use Ubuntu instead to help
you figure it out.

regards,
Markus

-- 
Markus Hoenicka
[email protected]
(Spam-protected email: replace the quadrupeds with "mhoenicka")
http://www.mhoenicka.de


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/