Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-07-2006, 07:43 AM   #1
LQ Newbie
Registered: Feb 2004
Location: Aussiland
Posts: 6

Rep: Reputation: 0

Hey, hopefully someone can help, im trying to install BWM TOOLS on a machine running ubuntu, when i do the ./configure it processes most things, but stops and says
* I could not find a working copy of freetype2. Check config.log for hints on why
this is the case. Maybe you need to set LDFLAGS and CPPFLAGS appropriately
so that compiler and the linker can find libfreetype and its header files. If
you have not installed freetype2, you can get it either from its original home on

You can find also find an archive copy on

The last tested version of freetype2 is 2.1.9.

LIBS=-lz -lm
CPPFLAGS= -I/usr/include/freetype2

a dpkg -l reveals that its installed as such,

ii freetype2 1.4pre.20030402-1.1 Dummy package for transition to libttf2
I've tried typing ./configure CPPFLAGS= -I/usr/local/include/freetype2 (location of where it apparently is installed too) with no previal

As you can prolly tell im not overly great with *nix, but any help would be appreciated

edit : actually the error is from rrdtool which is required for bwm tools

edit2 : after a few more attempts, using apt-get'n'what not im still stuck on rrdtools,

edit3 : got rrdtools installed finally, now bwm_tools errors on ... make

Making all in bwm_firewall
make[2]: Entering directory `/tmp/bwm_tools-0.2.3/bwm_firewall'
make[3]: Entering directory `/tmp/bwm_tools-0.2.3'
make[3]: Leaving directory `/tmp/bwm_tools-0.2.3'
/bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -o bwm_firewall -pthread -lgthread-2.0 -lglib-2.0 -L/usr/lib -lxml2 -lz -lm -lpanel -lncurses -lmenu bwm_firewall-bwm_firewall.o ../lib/
gcc -g -O2 -o .libs/bwm_firewall bwm_firewall-bwm_firewall.o -pthread -L/usr/lib -lpanel -lncurses -lmenu ../lib/.libs/ /usr/lib/ -lpthread /usr/lib/ /usr/lib/ -ldl -lz -lm -Wl,--rpath -Wl,/usr/local/lib
/usr/bin/ld: cannot find -lpanel
collect2: ld returned 1 exit status
make[2]: *** [bwm_firewall] Error 1
make[2]: Leaving directory `/tmp/bwm_tools-0.2.3/bwm_firewall'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/bwm_tools-0.2.3'
make: *** [all] Error 2

Last edited by Netsplit; 05-07-2006 at 09:08 AM.
Old 05-08-2006, 02:36 AM   #2
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,134

Rep: Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551Reputation: 551
Post Use debian packages

I install from source occasionally in debian. If something won't install after a little work I just forget about it and find another package that is part of debian.
Old 04-09-2008, 08:42 AM   #3
Senior Member
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
BWM /usr/bin/ld issue

there is an issue with the BWM tools.
i am trying it on linux mint and have already tried it on ubuntu.
both are giving the same problem.
after giving make command i get:
/usr/bin/ld: cannot find -lpanel
collect2: ld returned 1 exit status
make[2]: *** [bwm_firewall] Error 1
make[2]: Leaving directory `/home/inspire/bwm/bwm_tools-0.3.0/bwm_firewall'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/inspire/bwm/bwm_tools-0.3.0'
make: *** [all] Error 2

i have no idea of using ld command and even could not understand much of man page. and as the bin directory is binary it is impossible to manually find out why -lpanel is missing.
but after checking /usr/lib directory i found that there is a file called
is this what is needed or any environment variable is unset.
i have tried setting up LD_LIBRARY_PATH to /usr/bin/ld and to /usr/lib.
both are not working.
if this is a debian or mint based problem then can this problem be solved using other distro. otherwise can you please suggest a good bandwidth management tool which can be used to limit the bandwidth on network for internet users?
thanks in advance.


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
About BWM_tools shipon_97 Linux - Networking 1 03-01-2006 05:09 AM
freetype2 - bytecode interpreter gusgorman Slackware 1 02-08-2006 01:00 AM
Rebuilding Freetype2 on Slackware 10.2 Toods Slackware 4 01-12-2006 08:46 AM
problem in Install freetype2 treotan Red Hat 1 12-23-2005 02:57 PM
SDL_ttf complains about freetype2 plz help LavaDevil94 Linux - Software 3 08-28-2004 05:41 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:32 AM.

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