Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Error compiling dbus for bluez-utils, Problem with GNU gettext< Next Oldest | Next Newest >
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 09 2007,14:23 QUOTE

In an effort to reduce the size of bluez-utils, I decided to try and compile it from scratch rather than use apt-get from debian stable.

If I try and compile bluez-utils directly, ./configure complains that I need to install dbus first. If I try to compile dbus, ./configure complains that I need to install GNU gettext:

./configure --prefix=/usr
...
checking for msgfmt... no
./configure: line 27493: ./po/POTFILES.in: No such file or directory
configure: error:
*** You must have either have gettext support in your C library, or use the
*** GNU gettext library.

gettext-0.14 installs without any error messages - the problem is when I try to compile dbus, I get the same error message.

Does anybody have an idea if this is something to do with the gnu-utils package having been stripped of some files or do I need to enter a symlink to /po/POTFILES.in somehere (but where)?
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 09 2007,16:11 QUOTE

I assume you installed all with the prefix to /usr ?

If so, I'd try removing the dbus source directory, and re-extract a new one.  Why?  I'm not sure but I suppose sometimes something isn't correctly re-processed.  Since *.in files usually indicate a file that's used by make, but usually created by the configure process, that's all I can think of right now.

If this doesn't work, maybe you need that "msgfmt" (message format?).
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 10 2007,05:29 QUOTE

..Sounded like a good idea, but unfortunately no joy.

msgfmt is apparently one of the utilities included with gettxt - I'll try a couple of versions of gettxt and see if that does it.

Edit
-----
gettxt-0.13 seemed to do the trick.

Now it complains something else is missing  :(
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Feb. 10 2007,06:19 QUOTE

Heh, that just reminded me when I was compiling several different software bundles... this version would work here, some would even cause gcc to segfault, etc. - might have to do with restructuring of the APIs, or something.

In the end, I used the date of the 'target' software's release, and then searched for all the tools that were released before that date.

Just a tip that might help you out...
Back to top
Profile PM 
Juanito Offline





Group: Members
Posts: 1601
Joined: Sep. 2005
Posted: Feb. 10 2007,07:51 QUOTE

I came to the same conclusion (date of releases) and bluez-utils finally compiled - I just need to go back and compile things cleanly and record the file names.

One thing I found was that compiling worked much better for me when I booted with the legacy boot code and used gnu-utils/gcc1-with-libs.dsl

Thanks for the help.
Back to top
Profile PM 
4 replies since Feb. 09 2007,14:23 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Error compiling dbus for bluez-utils

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code