LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 05-25-2003, 06:52 PM   #1
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Rep: Reputation: 55
Flux and Openbox on SuSE 8.2 - aa'd fonts


Can't get antialiasing to work in flux or openbox in SuSE 8.2. Have tried enabling from the configuration menu but with no effect. Installed artwiz fonts - still no help. Changing fonts in the different styles doen't help either. Have tried enabling/disabling xfs on boot (disabled by default) - no difference.

I am using 0.9.2 unstable of flux because the stable release would not compile with my gcc (3.3-23). Openbox and Blackbox come with the distro. Blackbox doesnt support aa through xft. Had this working fine with 1.14 in older distros so I don't know if its changes in the way the distros handle antialiasing now or what.

Any ideas? Anyone using flux/openbox with Suse 8.2 and have aa working?

Just when I think i've got this font thing figured out, it bites me on the a$$ again.
 
Old 05-25-2003, 08:23 PM   #2
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
Did you ./configure --enable-xft ...or something.
If not, see ./configure --help for the right switch.
 
Old 05-25-2003, 09:11 PM   #3
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Original Poster
Rep: Reputation: 55
Thanks...

After failing to compile the stable version (several times) I half expected this one to not work as well so I didn't use any options. Doh!

I try that later and letcha know what happens - doesn't explain openbox tho which was installed as an RPM with the distro.
 
Old 05-26-2003, 03:31 AM   #4
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Original Poster
Rep: Reputation: 55
I looked at the options under ./configure --help and decided specifically enable xft on configure.

./configure --enable-xft

I got the following error:

checking for XftFontOpen in -lXft... yes
Could not link with Xft. Install Xft if you want support for it.

Xft is installed so I guess SuSE put it somewhere different.

locate Xft returns the following:

/usr/X11R6/include/X11/Xft
/usr/X11R6/include/X11/Xft/Xft.h
/usr/X11R6/include/X11/Xft/XftCompat.h
/usr/X11R6/lib/libXft.a
/usr/X11R6/lib/libXft.so
/usr/X11R6/lib/libXft.so.1
/usr/X11R6/lib/libXft.so.1.1
/usr/X11R6/lib/libXft.so.2
/usr/X11R6/lib/libXft.so.2.1
/usr/X11R6/lib/X11/XftConfig
/usr/X11R6/man/man3/Xft.3x.gz
/var/cache/man/X11R6/cat3/Xft.3x.gz

I tried ./configure with another option;
./configure --with-xft-prefix=/path/to/xft

I used the first path listed under my locate results, but I got an error:

/usr/X11R6/include/X11/Xft/bin/pkg-config; no such file or directory.

I don't have a pkg-config on my system. I DO have a /usr/lib/pkgconfig, which
contains xft.pc file (among other .pc files). What is ./configure looking for
when it can't find xft?
 
Old 05-26-2003, 04:31 PM   #5
UnTamed
Member
 
Registered: Dec 2002
Location: Qc, Canada
Distribution: CRUX
Posts: 317

Rep: Reputation: 30
Does your distro have a separate devel package like libXft-devel? ...that could be what you're missing.

Here's mine:
Code:
>slocate Xft
/usr/lib/libXft.so.2
/usr/lib/libXft.so.2.0
/usr/lib/libXft.so
/usr/X11R6/lib/libXft.so.1
/usr/X11R6/lib/libXft.so.2
/usr/X11R6/lib/libXft.so.1.1
/usr/X11R6/lib/libXft.so.2.1
/usr/X11R6/lib/libXft.a
/usr/X11R6/lib/libXft.so
/usr/X11R6/man/man3/Xft.3x.gz
/usr/X11R6/include/X11/Xft
/usr/X11R6/include/X11/Xft/Xft.h
/usr/X11R6/include/X11/Xft/XftCompat.h
/usr/include/Xft2
/usr/include/Xft2/X11
/usr/include/Xft2/X11/Xft
/usr/include/Xft2/X11/Xft/Xft.h
/usr/include/Xft2/X11/Xft/XftCompat.h
 
Old 05-26-2003, 05:59 PM   #6
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Original Poster
Rep: Reputation: 55
All my developement libraries seem to be installed. Plus, when I check the configure log for the 1.14 install (that failed to create an executable), Xft is located properly with no errors. The problem here was the following error:

Code:
fluxbox.cc: In member function `void Fluxbox::load_rc(BScreen*)':
fluxbox.cc:2324: error: `B_AmericanDate' undeclared (first use this function)
make[3]: *** [fluxbox.o] Error 1
make[3]: Leaving directory `/home/steve/Documents/Downloads/Tars/fluxbox-0.1.14/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/steve/Documents/Downloads/Tars/fluxbox-0.1.14/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/Documents/Downloads/Tars/fluxbox-0.1.14'
make: *** [all] Error 2
This was printed at the end of 'make' for flux .1.14. I assumed the newer gcc wasn't going to be able to compile this so tried .9.2

I'm not sure which error is easier to fix - if any
 
Old 05-26-2003, 09:41 PM   #7
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware, Windows 7
Posts: 1,253

Original Poster
Rep: Reputation: 55
I wanted to post that I was able to get Fluxbox 1.14 running on SuSE 8.2

I took some modifications to the config.h , fluxbox.cc, fluxbox.hh, and fbrun.hh files. If anyone is interested I'll post in the success stories forum.

Thanks
 
Old 08-17-2003, 02:55 AM   #8
playboy601
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
Fluxbox 1.14

Hi,
I'm getting those same errors about B_AericanDate and B_European date... how did u get it to work?
 
  


Reply


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
Many flux, flux console, flux appearance, etc... questions. kornerr Linux - General 10 08-06-2005 12:16 PM
artwiz fonts - openbox themes Bill Cosby Linux - General 1 02-11-2005 03:04 AM
is there a way to make Suse fonts look the same as knoppix fonts lemuel Linux - General 0 01-11-2005 09:27 AM
Artwiz-fonts in Openbox 3.2 hemmelig Linux - Software 0 12-18-2004 09:02 AM
Fonts for Suse 8.1 biblefreak Linux - General 1 01-01-2003 01:45 PM


All times are GMT -5. The time now is 10:44 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration