Some FreeBSD issues


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Some FreeBSD issues
# 1  
Old 06-01-2003
Some FreeBSD issues

I have been using Linux for 3 years now, and I think I am getting enough knowledge (and confidence) to try some more 'traditional' unix variants. I installed FreeBSD 5.0-CURRENT. I have a couple of questions for the time being:

1) Frequently when I need to compile software packages they can't find existing headers and libraries in /usr/local/include and /usr/local/lib respectively, and have to be manually added as CPPFLAGS or LDFLAGS env. vars etc. for "configure". I think these are standard locations, but why those libraries cannot be found?

2) My current linux distribution supports colors on the console. I know there are some packages allowing FreeBSD to have similar properties, but I forgot which one and where to get one.

Any ideas?
# 2  
Old 06-01-2003
Hi cbkihong,

How are you installing the software packages you speak of in your first question? Are you using the ports or packages?
Also what install did you do, you may not have installed all of what you need.

As to the last question, I have not idea, sorry.

Smilie
# 3  
Old 06-01-2003
Thank you for your reply. I don't have problems with ports or packages in general. However, I am generally more fond of 'traditional' manual 'configure-make-make install' method for certain kinds of applications that I would like to keep constantly current. And this is a bit problematic. I also think I am missing something, somewhere, in the system configuration as I am not that familiar with the specifics of FreeBSD yet (I have yet to see how something I customarily do with my particular linux distro is to be done on FreeBSD).

I initially installed gnome from packages with /stand/sysinstall. However, it failed to start (typed gnome-session from console) and simply stated "unable to open display". So I think I may try and see if I can compile KDE myself (which have been compiling rather effortlessly on my linux box). I know that some packages, say libjpeg has already been compiled and installed (I explicitly installed them, again, from source), but the ./configure error log of some packages say the library files cannot be found, despite I have found the relevant .h and .so files installed in /usr/local/include and /usr/local/lib, until I pass them as parameters to ./configure as "with-extra-includes" and "with-extra-libs" that they can finally be found, and can then be compiled. I think if I always have to pass such parameters manually it is very messy.

I have to manually compile some applications in order to work in the way I want on my specific locale. Like vim, to enable the use of cjk on Linux I need to pass a lot of parameters to ./configure. So in general ports/packages on FreeBSD, though one exists, may not work for me on this regard (I may be wrong -- please correct me).

I do understand there can be more problems if I don't stick to ports/packages and compile everything myself. I compiled xfree86 4.3.0 from sources as I can't find that version from my ports. My compiled x-windows works perfectly. But it seems by doing so I can no longer use ports/packages for any x applications as the ports assume xfree86 4.2.0 instead of 4.3.0. if I use those ports/packages then xfree 4.2.0 would be fetched and installed, and that is definitely not what I want.
# 4  
Old 06-02-2003
It would be a lot better if you install the applications you need via ports as patches and such that are required for FreeBSD are added during install. You can still install your applications the old way but installing from ports places libs and such where they are supposed to be under FreeBSD.

FreeBSD is different to Linux and I would encourage you to have a look at the Handbook and the FAQ.
# 5  
Old 06-02-2003
Quote:
Originally posted by cbkihong
I do understand there can be more problems if I don't stick to ports/packages and compile everything myself. I compiled xfree86 4.3.0 from sources as I can't find that version from my ports. My compiled x-windows works perfectly. But it seems by doing so I can no longer use ports/packages for any x applications as the ports assume xfree86 4.2.0 instead of 4.3.0. if I use those ports/packages then xfree 4.2.0 would be fetched and installed, and that is definitely not what I want.
I compiled XFree86 4.3.0 on my FreeBSD 5.1-BETA installation from the ports tree this past weekend. Is your ports tree up to date?

I normally install from the ports tree, update the ports tree via cvsup and use `portupgrade --all` to recompile all the ports that I have installed.

Many of the ports have ./configure style options that you can use on the make command line in the form of:

Code:
make all -D option_flag

or

Code:
make all option_flag=yes

The FreeBSD handbook has all the nitty gritty details.
# 6  
Old 06-11-2003
Thank you very much. Let's forget my questions earlier. I have some two newer ones for you:

1) In a KDE session artsd seem to block the sound card and apps like XMMS no longer can play within KDE. From Handbook Ch. 16 it mentioned the Virtual Sound Channel technique. However, significant audio quality degradation and jitter occurred with the mentioned modifications. Even when it could be played, the sound doesn't sound right. Is it what it is supposed to be?

2) How to change the UI font for GTK+-1.2 apps? On my SuSE Linux a SuSE staff told me to use .gtkrc for a similar problem on linux. I used this same trick and it didn't appear to work on FreeBSD.

I'm using Gnome 2.2, KDE 3.1.2 and FreeBSD 5.0-RELEASE, fyi.
# 7  
Old 06-11-2003
Quote:
Originally posted by cbkihong
Thank you very much. Let's forget my questions earlier. I have some two newer ones for you:

1) In a KDE session artsd seem to block the sound card and apps like XMMS no longer can play within KDE. From Handbook Ch. 16 it mentioned the Virtual Sound Channel technique. However, significant audio quality degradation and jitter occurred with the mentioned modifications. Even when it could be played, the sound doesn't sound right. Is it what it is supposed to be?

2) How to change the UI font for GTK+-1.2 apps? On my SuSE Linux a SuSE staff told me to use .gtkrc for a similar problem on linux. I used this same trick and it didn't appear to work on FreeBSD.

I'm using Gnome 2.2, KDE 3.1.2 and FreeBSD 5.0-RELEASE, fyi.
I have had better luck with multiple audio streams with gnome than I have had with KDE. What sound card and kernel drive are you using in your box? I myself have had some blocking issues with artsd with on-board low end audio. I have not played around with the virtual sound channel sysctl settings yet.

Check this site - entry #12 at www.freebsd.org. I found via Google references on settings between .gtkrc and .gtkrc-2.0. I am assuming that your SuSE installation was running Gnome 1.x.x?
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. BSD

FreeBSD DHCP wpa_supplicant Wi-Fi Issues

I just got FreeBSD up and running with an XFCE desktop on an old Gateway laptop. It works great, except the wireless setup is scaring me. I can connect to my home WiFi fine most of the time, but I'm concerned about other WiFi that I will need to connect to away from home. I understand that I can... (1 Reply)
Discussion started by: BrentBANKS
1 Replies

2. IP Networking

Test Network Routing Issues (FREEBSD and RHEL)

Hello, I'm attempting to setup a test network with a client-server based architecture using a proprietary application. The client works by communicating with the server on separate links (typically cellular connections) and then initiates a tunnel over each active link. However, in place of the... (0 Replies)
Discussion started by: shadyuk
0 Replies

3. AIX

Networking Issues - Opera, FreeBSD, AIX

(1) Hi, Am working on FreeBSD 7.4/i386 and installed Opera 11.01 through ports collection manually... But when I run first time am getting "opera: cannot connect X server. Error: Unknown error: 0" What is this error all about???? Please help me to sort out this issue!!! (2) Hi, currently am... (12 Replies)
Discussion started by: Priya Amaresh
12 Replies

4. BSD

FreeBSD AMD NFS over TCP issues

Hi! I have a major issue with FreeBSD 7.1 i386. We did a change in our Unix env where we exchanged home storage from a NetAPP running udp to a NetAPP running tcp. Now I cant mount homedirs since NFS/AMD seem to fallback to udp :( Trying to force it with amd options nfs_proto=tcp and so on. ... (0 Replies)
Discussion started by: Esaia
0 Replies

5. UNIX for Dummies Questions & Answers

Resolved: htpasswd issues (-b) on FreeBSD

I wrote a script to batch-create directories with .htaccess and .htpasswd files. I am using the following line to create the .htpasswd file: htpasswd -cb .htpasswd $USER $PASS However, I keep getting this message in return: Usage: htpasswd passwordfile username The -c flag creates a new... (1 Reply)
Discussion started by: Spetnik
1 Replies

6. Web Development

Using IP.Board on FreeBSD, having SQL/Apache Issues

Server: FreeBSD 7.2-RELEASE MYSQL Version: MYSQL 5.1.36 PHP Version: 5.2.10 (apache2handler) IP.Board Version: v3.0.2 Safe Mode: OFF For the most part previously IP.Board, forum software, has run fine without any issues. Regular web pages and .php pages seem to load fine without any issues.... (2 Replies)
Discussion started by: Dark Severance
2 Replies

7. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

8. BSD

FreeBSD - Kernel Queries/Issues

All, I am a bit of a BSD newbie and haven't really played with it for years, but I have had a recent situation whereby someone attempted to load a custom kernel module and ended up breaking my BSD server. I managed to fix it by doing the following: Booting into loader mode: unload set... (3 Replies)
Discussion started by: drbabbers
3 Replies

9. UNIX for Advanced & Expert Users

snort installation on freebsd issues

i'm following the, "How to setup and secure Snort, MySQL and Acid on FreeBSD 4.6 Release" off of the snort.org website. in the documentation it says snort should be installed through the following: ----- make -DWITH_MYSQL -DWITH_FLEXRESP ; make install ----- later it says to do the... (13 Replies)
Discussion started by: xyyz
13 Replies

10. UNIX Desktop Questions & Answers

FreeBSD 4.7 X issues - assistance req'd please

question: i just installed FreeBSD 4.7 on my laptop, when i log in as root, i can startx no problem at all but when i try to start it as a user, i can't. otiginally it told me i needed to be a member of the group 'wheel' to do startx, no problem, added myself in /etc/group, but for some reason i... (1 Reply)
Discussion started by: Calum
1 Replies
Login or Register to Ask a Question