aRts-1.5.10 compile problem

Ken Moffat ken at linuxfromscratch.org
Thu Mar 5 12:31:50 PST 2009


On Thu, Mar 05, 2009 at 03:06:20PM +0000, Ken Moffat wrote:
> 
>  A similar patch (probably the reason the gentoo bug was closed) is at
> http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/arts/files/arts-1.5.9-glibc2.8-build-fix.patch?view=markup
> 
>  Note: those both apply to arts-1.5.9.  I don't build kde3 any more,
> so I've no idea if arts-1.5.10 still shows the problem.
> 
 After that, I remembered that I had built qt3 in /opt on my
original 6.4 install (to test kdelibs for jasper - that time, I
avoided building arts).  Without any patches in arts-1.5.10 I too
get:

mcoputils.cc: In function 'char* locate_mcop_dir()':
mcoputils.cc:74: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:91: error: 'kde_tmp_dir' was not declared in this scope
mcoputils.cc:100: error: 'user_tmp_dir' was not declared in this
scope
mcoputils.cc: In function 'int build_link(const char*, const
char*)':
mcoputils.cc:227: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:236: error: 'kde_tmp_dir' was not declared in this
scope
mcoputils.cc:245: error: 'user_tmp_dir' was not declared in this
scope
mcoputils.cc:321: error: 'tmp_buf' was not declared in this scope
mcoputils.cc: In static member function 'static std::string
Arts::MCOPUtils::createFilePath(std::string)':
mcoputils.cc:367: error: 'PATH_MAX' was not declared in this scope
mcoputils.cc:368: error: 'tmp_prefix' was not declared in this scope
make[3]: *** [mcoputils.lo] Error 1
make[3]: Leaving directory `/home/ken/arts-1.5.10/mcop'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ken/arts-1.5.10/mcop'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ken/arts-1.5.10'
make: *** [all] Error 2

 I built this system against the 2.6.27.5 headers:
ken at ac30 ~ $/lib/libc.so.6
GNU C Library stable release version 2.8 (20080929), by Roland
McGrath et al.
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 4.3.2.
Compiled on a Linux >>2.6.27.5<< system on 2008-11-18.
Available extensions:
        crypt add-on version 2.1 by Michael Glad and others
        GNU Libidn by Simon Josefsson
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B

 Using the gentoo patch (attached) I've compiled arts and done a
DESTDIR install so it seems to fix the problem.

 I'm puzzled why the patch is apparently not needed by everybody for
6.4.  I can see that configure tests if mcop should be compiled, but
that seems to be merely a "did we include the source" and "did we
mark it to NOT be built" test.

ĸen
-- 
das eine Mal als Tragödie, das andere Mal als Farce



More information about the blfs-support mailing list