LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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
 
Thread Tools
Old 03-16-2005, 12:35 AM   #1
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 204
Thanked: 0
Why can't FreeBSD compile anything from source code?


[Log in to get rid of this advertisement]
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-16-2005 at 12:50 AM..
mortal is offline     Reply With Quote
Old 03-16-2005, 01:31 AM   #2
Ephracis
Senior Member
 
Registered: Sep 2004
Location: Sweden
Distribution: Ubuntu, Debian
Posts: 1,096
Thanked: 1
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.
Ephracis is offline     Reply With Quote
Old 03-17-2005, 11: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
Thanked: 0
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.
sigsegv is offline     Reply With Quote
Old 03-17-2005, 12:19 PM   #4
mortal
Member
 
Registered: Mar 2004
Location: Soviet Kanuckistan
Distribution: Slackware 12.2
Posts: 204
Thanked: 0

Original Poster
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".
mortal is offline     Reply With Quote
Old 03-18-2005, 12:21 PM   #5
jschiwal
Moderator
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 12,877
Thanked: 232
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
jschiwal is online now     Reply With Quote
Old 03-21-2005, 08:49 PM   #6
Clark Bent
Member
 
Registered: Jul 2004
Distribution: Debian, FreeBSD, Slamd64
Posts: 201
Thanked: 0
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.
Clark Bent is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration