Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-25-2012, 07:32 AM   #1
LQ Newbie
Registered: Apr 2012
Location: Darmstadt, Germany
Distribution: Arch + some others
Posts: 12

Rep: Reputation: Disabled
Libtool problem when building 'fontconfig-2.9' package on Alpine Linux

Hi everybody!

I'm currently trying to revive an old laptop of mine that suffers from having only 256 MB of ram. I chose to go with Alpine Linux since that's build upon the tiny µclibc instead of glibc. My goal is to build a desktop system with as little memory usage as possible.

The distro is all fine and well, but it doesn't offer a lot of packages, yet. It's standard desktop is xfce (which is surprisingly frugal in terms of memory in this distro!) but I'd prefer to go with LXDE. The later is however not available in form of packages.

Since I'd like to avoid having all the dev libraries on my system on the end, I put up a developement installation on which to build the binary packages for later use on a new and clean install. I figured how to create the "abuild" scripts which hold all kind of data neccessary to build the package like depends, url of the source, etc (just think of Gentoo ebuilds). After playing around with all this kind of stuff, I was able to create my first packages which obviously work.

I've read and learned a lot in this process. But in the end I ran into a problem that I just can't get a solution for. I haven't found anything helpful on the net. My problem is: To build openbox I need some dependencies fulfilled first. One of those is fontconfig and this one is giving me a headache. I'm as far as to get configure working and even building the whole thing correctly via make. But when it comes to make install which is used to build the package, something goes wrong.

The error message is:

ERROR: fontconfig*: Libtool archives (*.la) files found and $options has no 'libtool' flag
Well, I'm not a coder and do not know much about compiling other than the common, most simple way. I've tried using parameters like "--with-libtool", "--enable-libtool" and things like that. But I was always told that these were not valid. I also tried "--disable-shared" and "--disable-static" since I read something and hoped that it would affect the libtool thing. All for no gain so far.

Right now I'm at my wits' end. I guess that issuing a command that sets the 'libtool' flag is that easy a thing that I can't find anything about it. But like I said, I'm not a programmer and I have no clue where to look next. If somebody could help me with this, it would be very much appreciated!
Old 04-25-2012, 12:31 PM   #2
LQ Newbie
Registered: Apr 2012
Location: Darmstadt, Germany
Distribution: Arch + some others
Posts: 12

Original Poster
Rep: Reputation: Disabled
After some more playing with it, I was made an unexpected finding: It's neither configure nor make which needs the libtool flag. Instead it's the compiler... Adding it to CFLAGS solves the problem - only to run into another. If the flag is set, configure fails and claims that the compiler was not able to produce executables.

Since I encountered just the same thing with the LXDE component menu-cache, I'm going to mark this thread as "solved". It's not a problem with fontconfig after all and thus the topic would be missleading. Now I'm going to read some more and try to solve the new situation. If it fails, I'll open a new thread.

Thanks to all who wanted to help!


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
slackware64 13.37 alpine.SlackBuild fails when trying to rebuild package haxwithaxe Slackware 21 10-04-2011 04:44 PM
libtool: problems building a shared library dax2112rush Programming 0 02-21-2010 04:39 PM
fontconfig-compat32 package breaks VLC build Daedra Slackware 1 09-17-2009 06:23 AM
Problems Building 'fontconfig-2.6.0' - Segmentation Fault haroldjclements Linux - Software 0 11-04-2008 12:10 PM
Package building problem Thilips Red Hat 1 02-08-2007 10:57 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration