#95: Building on FreeBSD fails with default configuration of FreeBSD
-------------------------------------+--------------------------------------
 Reporter:  GraveR                   |       Owner:  admin    
     Type:  Bugs                     |      Status:  new      
 Priority:  1                        |   Milestone:           
Component:  Liquidsoap               |     Version:  0.3.6+svn
 Keywords:  freebsd configure build  |         Mac:  1        
    Other:  0                        |     Freebsd:  1        
    Linux:  0                        |  
-------------------------------------+--------------------------------------
 Savonet seems to use GNU's make in order to build and configure.

 Under FreeBSD, this program is known as gmake and is incompatible with
 FreeBSDs native make-command.

 Using 'export MAKE=gmake' seems to fix most of the problems, but not all.
 Also the configure scripts seems to look only in /usr/include and
 /usr/lib, FreeBSD places 3rdparty includes and libs in /usr/local/include
 and /usr/local/lib respectively.

 The configurescripts can be 'fooled' by exporting
 CPPFLAGS=-I/usr/local/include and LDFLAGS=-L/usr/local/lib

 But these flags are not honored during the normal build, so FreeBSD (and
 e.g. OSX users) need to symlink the required dirs from /usr/local/include
 and /usr/local/lib to /usr/include and /usr/lib

 Example:
 ls -l /usr/include/vorbis
 lrwxr-xr-x  1 root  wheel  25 Feb  2 16:29 /usr/include/vorbis ->
 /usr/local/include/vorbis

-- 
Ticket URL: <http://savonet.rastageeks.org/ticket/95>
Savonet <http://savonet.rastageeks.org/>
Let's program our stream !

Répondre à