LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

Rep: Reputation: 0
bwm_tools-0.2.3/freetype2


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
Quote:
----------------------------------------------------------------------------
* 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

http://prdownloads.sourceforge.net/freetype/

You can find also find an archive copy on

http://people.ee.ethz.ch/~oetiker/we...dtool/pub/libs

The last tested version of freetype2 is 2.1.9.

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

----------------------------------------------------------------------------
a dpkg -l reveals that its installed as such,

Quote:
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

Quote:
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/libbwm.la
gcc -g -O2 -o .libs/bwm_firewall bwm_firewall-bwm_firewall.o -pthread -L/usr/lib -lpanel -lncurses -lmenu ../lib/.libs/libbwm.so /usr/lib/libgthread-2.0.so -lpthread /usr/lib/libglib-2.0.so /usr/lib/libxml2.so -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 08:08 AM.
 
Old 05-08-2006, 01:36 AM   #2
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524

Rep: Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015Reputation: 1015
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, 07:42 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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 libpanel.so.5.
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.
 
  


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:23 AM.

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