Well, I created a new directory, hg cloned the files again, and this time it
found the SDL lib and built. Odd.

m00t

On Sat, Aug 22, 2009 at 6:33 PM, m00tpoint <[email protected]> wrote:

> Followed the install directions on my Ubuntu 9.04 machine,
> specifically I've run ubuntu-packages multiple times and all those
> packages are "the newest version." However, when running scons in the
> ocropus directory:
>
> r...@lapdog:/media/disk/scratch/ocropus# scons
> scons: Reading SConscript files ...
>
> scons: warning: The PathOption() function is deprecated; use the
> PathVariable() function instead.
> File "/media/disk/scratch/ocropus/SConstruct", line 79, in <module>
> NOTE: compile with high optimization only for production use
> Checking for C++ library iulib... (cached) yes
> Checking for C++ header file colib/colib.h... (cached) yes
> Checking for C library gif... (cached) yes
> Checking for C library tiff... (cached) yes
> Checking for C library jpeg... (cached) yes
> Checking for C library png... (cached) yes
> ***********************************Checking for C library SDL...
> (cached) no
> scons: done reading SConscript files.
> scons: Building targets ...
> g++ -o commands/ocropus commands/ocropus.o -L/usr/local/lib -L.
> libocropus.a -liulib -liulib -ltiff -ljpeg -lpng -lgif -lgif -ltiff -
> ljpeg -lpng
> libocropus.a(ocr-commands.o): In function `ocropus::main_ocropus(int,
> char**)':
> /media/disk/scratch/ocropus/ocr-commands/ocr-commands.cc:818:
> undefined reference to `dlopen'
> /media/disk/scratch/ocropus/ocr-commands/ocr-commands.cc:823:
> undefined reference to `dlsym'
> /media/disk/scratch/ocropus/ocr-commands/ocr-commands.cc:824:
> undefined reference to `dlerror'
> /media/disk/scratch/ocropus/ocr-commands/ocr-commands.cc:820:
> undefined reference to `dlerror'
> /media/disk/scratch/ocropus/ocr-commands/ocr-commands.cc:825:
> undefined reference to `dlerror'
> collect2: ld returned 1 exit status
> scons: *** [commands/ocropus] Error 1
> scons: building terminated because of errors.
> r...@lapdog:/media/disk/scratch/ocropus#
>
> I tried installling several of the sdl libraries I found with apt-
> cache search, but no joy.
>
> Help?
>
> m00tpoint

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ocropus" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ocropus?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to