HaikuPorts
  • Login
  • Preferences
  • Help/Guide
  • Wiki
  • Timeline
  • Roadmap
  • View Tickets
  • Search
  • Port Log
  • Blog

Context Navigation

  • ← Previous Change
  • Wiki History
  • Next Change →

Changes between Version 3 and Version 4 of media-libs/sdl-image


Ignore:
Timestamp:
07/03/08 08:51:49 (7 years ago)
Author:
scottmc
Comment:

Updated haiku build notes

Legend:

Unmodified
Added
Removed
Modified
  • media-libs/sdl-image

    v3 v4  
    1313Dependencies: libpng, jpeg, tiff 
    1414 
    15 Copy in Haiku config.guess/.sub files.  Then run: 
     15Copy in Haiku config.guess/.sub files, [http://tools.assembla.com/BePorts/browser/BePorts/trunk/media-libs/sdl-image/SDL_image-1.2.6-haiku.diff Patch].  Then run: 
     16 * cat acinclude/libtool.m4 >> aclocal.m4 
     17 * cat acinclude/sdl.m4 >> aclocal.m4 
    1618 * aclocal 
    17  * libtoolize --force 
    18  * autoreconf 
    19  * ./configure  can't find jpeg or tiff libraries even though they are included with Haiku 
    20 {{{ 
    21 checking if gcc static flag -static works... yes 
    22 checking if gcc supports -c -o file.o... yes 
    23 checking whether the gcc linker (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared libraries... yes 
    24 checking whether -lc should be explicitly linked in... yes 
    25 checking dynamic linker characteristics... no 
    26 checking how to hardcode library paths into programs... immediate 
    27 checking whether stripping libraries is possible... yes 
    28 checking if libtool supports shared libraries... no 
    29 checking whether to build shared libraries... no 
    30 checking whether to build static libraries... yes 
    31 configure: creating libtool 
    32 appending configuration tag "CXX" to libtool 
    33 checking for ld used by g++... /boot/develop/tools/gnupro/i586-pc-haiku/bin/ld 
    34 checking if the linker (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) is GNUld... yes 
    35 checking whether the g++ linker (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared libraries... no 
    36 checking for g++ option to produce PIC... -fPIC 
    37 checking if g++ PIC flag -fPIC works... yes 
    38 checking if g++ static flag -static works... yes 
    39 checking if g++ supports -c -o file.o... yes 
    40 checking whether the g++ linker (/boot/develop/tools/gnupro/i586-pc-haiku/bin/ld) supports shared libraries... no 
    41 checking dynamic linker characteristics... no 
    42 checking how to hardcode library paths into programs... immediate 
    43 appending configuration tag "F77" to libtool 
    44 checking for gcc... (cached) gcc 
    45 checking whether we are using the GNU C compiler... (cached) yes 
    46 checking whether gcc accepts -g... (cached) yes 
    47 checking for gcc option to accept ISO C89... (cached) none needed 
    48 checking dependency style of gcc... (cached) gcc 
    49 checking for inline... inline 
    50 checking for a BSD-compatible install... /bin/install -c 
    51 checking whether make sets $(MAKE)... (cached) yes 
    52 checking for windres... no 
    53 checking for haiku-windres... no 
    54 checking for sdl-config... /boot/common/bin/sdl-config 
    55 checking for SDL - version >= 1.2.10... yes 
    56 checking jpeglib.h usability... no 
    57 checking jpeglib.h presence... no 
    58 checking for jpeglib.h... no 
    59 checking for jpeg_CreateDecompress in -ljpeg... yes 
    60 configure: WARNING: *** Unable to find JPEG library (http://www.ijg.org/) 
    61 configure: WARNING: JPG image loading disabled 
    62 checking png.h usability... yes 
    63 checking png.h presence... yes 
    64 checking for png.h... yes 
    65 checking for png_create_read_struct in -lpng... yes 
    66 checking tiffio.h usability... no 
    67 checking tiffio.h presence... no 
    68 checking for tiffio.h... no 
    69 checking for TIFFClientOpen in -ltiff... no 
    70 configure: WARNING: *** Unable to find Tiff library (http://www.remotesensing.org/libtiff/) 
    71 configure: WARNING: TIF image loading disabled 
    72 configure: creating ./config.status 
    73 config.status: creating Makefile 
    74 config.status: creating SDL_image.spec 
    75 config.status: creating SDL_image.qpg 
    76 config.status: executing depfiles commands 
    77 /boot/test/SDL_image-1.2.6>            
    78 }}} 
     19 * libtoolize --copy --force 
     20 * aclocal 
     21 * autoconf 
     22 * ./autogen.sh 
     23 * ./configure --prefix=/boot/common LDFLAGS=-L/boot/common/lib CPPFLAGS=-I/boot/common/include 
    7924 
    80 I have been able to get this to build the .so file, but need to retrace my steps to figure out exactly what I did to make that happen and then create a patch for it. 
    81  
    82  
    83  
     25This will build both the shared and static libraries, and include png and jpeg support.[[BR]] 
     26  Theres still an issue getting tiff included. 

Trac Powered

Powered by Trac 0.13dev-r10686
By Edgewall Software.

Visit the Trac open source project at
http://trac.edgewall.org/