On Jun 17, 9:17 am, Marcin <[email protected]> wrote:
> Hello everyone,
>
> I'm trying to build ocropus on Ubuntu 10.04, using the
> InstallTranscript. First I ran into an issue with building iulib: it
> complained that it couldn't find the narray.h header file. While
> looking for packages containing this file I discovered that the Lucid
> Lynx release already contains the latest version (0.4) of iulib, so I
> installed that instead, skipping that part of the InstallTranscript. I
> only mention this in case it has any bearing on the following.

It's generally not a good idea mixing packaged versions with code from
the repositories.

> When I came to building ocropus (scons -j 4 omp=1) I got the following
> error:
>
> scons: Reading SConscript files ...
> WARNING: scons not supported on platforms other than Ubuntu 9.10 (yes,
> I acknowledge this)
> ./generate_version_cc.sh: 8: svnversion: not found

Ah, that's fixed now.

> Checking for C++ library iulib... yes
> Checking for C++ header file colib/colib.h... yes
> Checking for C library dl... no
> AssertionError: :
>   File "/home/marcin/Projects/ocropus/SConstruct", line 113:
>     assert conf.CheckLib('dl')
>
> I looked for libdl and sure enough, it's there under /usr/lib/libdl.so
> (symbolic link to /lib/libdl.so.2). So now I'm stumped: why does scons
> not see it?

That means that the config check failed, not necessarily that it
didn't see it.

> Could it be that I have the 64 bit version of Ubuntu (not
> to mention one major release after the one warned about in the
> transcript)?

We frequently build on Ubuntu 10.04, both 32 bit and 64 bit.

> Has anyone solved this problem already or have any clues? Many thanks,

Maybe you set some environment variables that break the build; for
example, you may have non-standard include paths.

The way to fix that is to look at the scons Conftest logs (see the
documentation) and see how exactly the conftest fails.

Tom

-- 
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