LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 03-15-2005, 11:35 PM   #1
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Rep: Reputation: 31
Why can't FreeBSD compile anything from source code?


It just seems that way anyways.

Things like K3b would not compile.Any Quake2 port I tried would not compile either.

Is FreeBSD married to it's ports or is it possible to compile anything from it's source code?

Or am I trying foolishly to compile linux source codes on a type of system that just don't do that?

I think I just answered my own question.

Last edited by mortal; 03-15-2005 at 11:50 PM.
 
Old 03-16-2005, 12:31 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,109

Rep: Reputation: 50
Perhaps you are doing just that, trying to install source for Linux. Check the programs you are trying to install and check if there is anything about *BSD. If not, the source is probably made for Linux.
 
Old 03-17-2005, 10:59 AM   #3
sigsegv
Senior Member
 
Registered: Nov 2004
Location: Third rock from the Sun
Distribution: NetBSD-2, FreeBSD-5.4, OpenBSD-3.[67], RHEL[34], OSX 10.4.1
Posts: 1,197

Rep: Reputation: 47
To answer your question -- Yes, the BSD's are kind of married to their (ports|pkgsrc). When a package goes into the ports system, the port's build includes patches to make the code work on that particular BSD.

Linux has a lot of stupid little peculiarities that are specific to linux that need to be fixed before they'll work on BSD (or anything else for that matter), and that's what the ports tree is all about.
 
Old 03-17-2005, 11:19 AM   #4
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 216

Original Poster
Rep: Reputation: 31
LOLOL!

Stupid peculiairities.

I like that.

FreeBSD is a real solid OS and I agree that a lot of linux distros have many "stupid peculiairities".
 
Old 03-18-2005, 11:21 AM   #5
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I think that source from many tarballs check if you are using BSD during the configure script.

For example in the streamtuner configure script, there are 37 lines referencing BSD.
Here are the first five such lines:
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
# (eg FreeBSD returns the mod time of the symlink's containing
# Now try BSD make style include.
_am_result=BSD
 
Old 03-21-2005, 07:49 PM   #6
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201

Rep: Reputation: 30
The ports are based on source. Go install one and watch her compile. Know that is not what you meant...but true none the less.
 
  


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
First Post! Unable to compile source code J--Lew Linux - Newbie 5 08-16-2005 03:17 PM
how i compile a source code? nazib Linux - General 5 02-27-2005 09:13 AM
how to compile redhat 9.0 source code. wood Linux - General 5 09-16-2003 10:05 AM
How to compile and execute Doom 1.10 source code sharathkv Linux - Newbie 1 08-26-2003 03:01 AM
How to compile source code... Grim Reaper Linux - Newbie 3 04-26-2002 11:28 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 09:42 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