DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 2nd October 2008
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default Linking and building vbox

Yeah, I'm trying vbox building also.
I had to download the bcc file and dev86. I was given a patch.
Okay, here it is. I need to link the dev86 to the BCC folder. both are located in /home/$USER. How do I do the link?
Reply With Quote
  #2   (View Single Post)  
Old 2nd October 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

Quote:
Originally Posted by Mr-Biscuit View Post
Yeah, I'm trying vbox building also.
I had to download the bcc file and dev86. I was given a patch.
Okay, here it is. I need to link the dev86 to the BCC folder. both are located in /home/$USER. How do I do the link?
Code:
codeln -s $HOME/BCC $HOME/dev86
or in your home dir
Code:
ln -s BCC dev86
Read:
man ln
Reply With Quote
  #3   (View Single Post)  
Old 3rd October 2008
Mr-Biscuit Mr-Biscuit is offline
Banned
 
Join Date: May 2008
Posts: 272
Default

The build is going good so far but libpng headers don't seem to be there. I've tried the suggested :
"Assuming you have the png port installed, add -I/usr/local/include
-L/usr/local/lib to your compile line."
And this came out:
"# ./configure -I/usr/local/include -L/usr/local/lib

Unrecognized option "-I/usr/local/include"

Usage: ./configure [OPTIONS]...

Configuration:
-h, --help display this help and exit
--nofatal don't abort on errors
--disable-xpcom disable XPCOM and related stuff
--disable-python disable python bindings
--disable-sdl-ttf disable SDL_ttf detection
--disable-alsa disable the ALSA sound backend
--disable-pulse disable the PulseAudio backend
--disable-kmods don't build Linux kernel modules (host and guest)
--disable-hardening don't be strict about /dev/vboxdrv access
--build-libxml2 build libxml2 from sources
--build-libxslt build libxslt from sources
--setup-wine setup a Wine directory and register the hhc hack

Paths:
--with-gcc=PATH location of the gcc compiler [gcc]
--with-g++=PATH location of the g++ compiler [g++]
--with-gcc-compat=PATH location of the gcc compiler for recompiler [gcc]
--with-kbuild=DIR kbuild directory [/usr/home/moleque/VirtualBox-2.0.0/kBuild]
--with-iasl=PATH location of the iasl compiler [iasl]
--with-linux=DIR Linux kernel source directory [/usr/src/linux]
--with-mkisofs=PATH location of mkisofs [mkisofs]
--with-qt-dir=DIR directory for Qt3 headers/libraries [/usr/qt/3 /usr/lib/qt3 /usr/lib/qt-3.3 /usr/share/qt3 /usr/lib64/qt-3.3 /usr/X11R6 /usr/lib/qt]
--with-qt4-dir=DIR directory for Qt4 headers/libraries [pkgconfig]

Build type:
-d, --build-debug build with debugging symbols and assertions
--build-profile build with profiling support
--build-headless build headless (without any X11 frontend)
#
"

Reply With Quote
  #4   (View Single Post)  
Old 3rd October 2008
DNAeon DNAeon is offline
Shell Scout
 
Join Date: Sep 2008
Location: Bulgaria
Posts: 138
Default

Quote:
Originally Posted by Mr-Biscuit
The build is going good so far but libpng headers don't seem to be there. I've tried the suggested :
"Assuming you have the png port installed, add -I/usr/local/include
-L/usr/local/lib to your compile line."
You have to place a space between -I, -L and the path.

Code:
-I /usr/local/include -L /usr/local/lib
png.h and libpng.so are respectively in /usr/local/include/png.h and /usr/local/lib/libpng.so

Cheers,
--DNAeon
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Building a New System, Ideas ninjatux General Hardware 19 20th May 2009 09:54 AM
How to get port's building options? Sunsawe FreeBSD Ports and Packages 14 9th May 2009 06:35 PM
Building a Server with FreeBSD 7 anomie Book reviews 10 16th April 2009 01:13 PM
vbox: possible exploit Mr-Biscuit Other BSD and UNIX/UNIX-like 9 18th October 2008 06:33 PM
FreeBSD 7.0 kernel building... daemonFromHeaven FreeBSD Installation and Upgrading 4 3rd September 2008 02:42 PM


All times are GMT. The time now is 04:11 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick