[KimDaBa] KimDaBa on Cygwin and OSX

Daniel Berger daniberger at gmx.ch
Mon Mar 15 16:17:24 GMT 2004


> I asked in the forums of kde-cygwin at
> https://sourceforge.net/forum/forum.php?thread_id=1040022&forum_id=85789
> about the message.
>
> This was the answer, and fixed the configure error, by just returning 
> true for the missing functions.
> But maybe the mkdtemp is dependant on mcopidl? (see make error below)
>
> ln -s true /bin/mcopidl
> ln -s true /bin/artsc-config
> ./configure
>
> But now I get an error when running make:
>
> ktempdir.cpp: In member function `bool KTempDir::create(const 
> QString&, int)':
> ktempdir.cpp:77: error: `mkdtemp' undeclared (first use this function)
> ktempdir.cpp:77: error: (Each undeclared identifier is reported only 
> once for each function it appears in.)
> make[3]: *** [ktempdir.lo] Error 1
> make[3]: Leaving directory `/home/daniel/kimdaba-1.1/kimdaba/compat'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/daniel/kimdaba-1.1/kimdaba'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/daniel/kimdaba-1.1'
> make: *** [all] Error 2
>
> I think there's a missing 'include' for qt (or where ever mkdtemp is 
> defined) in the makefile?

Ok, mkdtemp is defined in the glibc, but currently not in cygwin.
So here is a site with a reorganized mkdtemp() fitted in one file:
http://mail.gnu.org/archive/html/bug-gnulib/2003-02/msg00019.html

I'll try to include that in ktempdir.cpp

regards
dani




More information about the Kphotoalbum mailing list