LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Núcleo doesn't compile (Núcleo now compiled, but Metisse doesn't compile) (https://www.linuxquestions.org/questions/linux-software-2/n%FAcleo-doesnt-compile-n%FAcleo-now-compiled-but-metisse-doesnt-compile-796595/)

MTK358 03-19-2010 07:29 PM

Núcleo doesn't compile (Núcleo now compiled, but Metisse doesn't compile)
 
I wanted to try installing the Metisse window manager, and it depends on Nucleo.

I got Nucleo from the AUR, but it fails to compile:

Code:

PNGenc.cxx: In function ‘void nucleo::png_memory_write_data(png_struct*, png_byte*, png_size_t)’:
PNGenc.cxx:38: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx:38: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx: In function ‘void nucleo::png_memory_read_data(png_struct*, png_byte*, png_size_t)’:
PNGenc.cxx:133: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx:133: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/libpng14/png.h:1125)
PNGenc.cxx: In function ‘bool nucleo::png_decode(nucleo::Image*, nucleo::Image*, nucleo::Image::Encoding, unsigned int)’:
PNGenc.cxx:173: error: ‘png_set_gray_1_2_4_to_8’ was not declared in this scope
make[4]: *** [PNGenc.lo] Error 1
make[4]: Leaving directory `/home/michael/aur-get.10556.17569/nucleo/src/nucleo-0.7.6/nucleo/image/encoding'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/michael/aur-get.10556.17569/nucleo/src/nucleo-0.7.6/nucleo/image'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/michael/aur-get.10556.17569/nucleo/src/nucleo-0.7.6/nucleo'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/michael/aur-get.10556.17569/nucleo/src/nucleo-0.7.6/nucleo'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
    Aborting...

What should I do?

knudfl 03-20-2010 06:13 AM

Tux - Linux - Google http://www.google.com/linux
Keyword = Nucleo

The first hit :
""Arch Linux Forums / [solved] error makepkg (make aborts) nucleo ...""
> > http://bbs.archlinux.org/viewtopic.php?id=46084

I guess, that [solved] means, it's not impossible to do.
QUOTE , post # 5
" found the new patches in aur from 6xx -
makepkg now works fine with nucleo-cvs and metisse-cvs "
.....

MTK358 03-20-2010 07:23 AM

Code:

==> Determining latest cvs revision...
  -> Version found: 20100320
==> Making package: nucleo-cvs 20100320-1 x86_64 (Sat Mar 20 08:23:29 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Found bootstrap.patch in build dir
  -> Found gcc4.3_build_fix.patch in build dir
==> Validating source files with md5sums...
    bootstrap.patch ... Passed
    gcc4.3_build_fix.patch ... Passed
==> Extracting Sources...
==> Entering fakeroot environment...
==> Starting build()...
==> Connecting to nucleo CVS server.......
cvs [checkout aborted]: connect to cvs.lri.fr(129.175.15.6):2401 failed: Connection timed out
==> CVS checkout done or server timeout
==> Starting make...
cp: cannot stat `/home/michael/aur-get.24422.4054/nucleo-cvs/src/nucleo': No such file or directory
/home/michael/aur-get.24422.4054/nucleo-cvs/PKGBUILD: line 39: cd: /home/michael/aur-get.24422.4054/nucleo-cvs/src/nucleo-build: No such file or directory
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/build-utils/bootstrap nucleo-bootstrap/build-utils/bootstrap
|*** nucleo/build-utils/bootstrap      2007-01-17 17:29:44.000000000 +0100
|--- nucleo-bootstrap/build-utils/bootstrap    2008-03-29 11:04:26.000000000 +0100
--------------------------
File to patch: q
q: No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/core/TimeStamp.H nucleo-gcc43/nucleo/core/TimeStamp.H
|*** nucleo/nucleo/core/TimeStamp.H    2007-05-29 10:26:30.000000000 +0200
|--- nucleo-gcc43/nucleo/core/TimeStamp.H      2008-03-29 11:29:13.000000000 +0100
--------------------------
File to patch: q
q: No such file or directory
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 17
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/core/URI.H nucleo-gcc43/nucleo/core/URI.H
|*** nucleo/nucleo/core/URI.H  2006-10-08 23:42:14.000000000 +0200
|--- nucleo-gcc43/nucleo/core/URI.H    2008-03-29 11:26:18.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/core/UUID.H nucleo-gcc43/nucleo/core/UUID.H
|*** nucleo/nucleo/core/UUID.H  2007-02-27 01:29:57.000000000 +0100
|--- nucleo-gcc43/nucleo/core/UUID.H    2008-03-29 11:28:27.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 45
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/gl/scenegraph/sgNode.H nucleo-gcc43/nucleo/gl/scenegraph/sgNode.H
|*** nucleo/nucleo/gl/scenegraph/sgNode.H      2007-02-06 09:50:16.000000000 +0100
|--- nucleo-gcc43/nucleo/gl/scenegraph/sgNode.H 2008-03-29 12:06:19.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 58
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/image/encoding/PAM.H nucleo-gcc43/nucleo/image/encoding/PAM.H
|*** nucleo/nucleo/image/encoding/PAM.H 2004-03-26 10:56:31.000000000 +0100
|--- nucleo-gcc43/nucleo/image/encoding/PAM.H  2008-03-29 11:39:38.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 73
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/image/encoding/RGBAL.H nucleo-gcc43/nucleo/image/encoding/RGBAL.H
|*** nucleo/nucleo/image/encoding/RGBAL.H      2005-12-15 10:30:17.000000000 +0100
|--- nucleo-gcc43/nucleo/image/encoding/RGBAL.H 2008-03-29 11:38:14.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 86
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/image/processing/basic/Paint.H nucleo-gcc43/nucleo/image/processing/basic/Paint.H
|*** nucleo/nucleo/image/processing/basic/Paint.H      2007-03-21 10:05:33.000000000 +0100
|--- nucleo-gcc43/nucleo/image/processing/basic/Paint.H 2008-03-29 11:42:05.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 100
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/image/processing/basic/Resize.H nucleo-gcc43/nucleo/image/processing/basic/Resize.H
|*** nucleo/nucleo/image/processing/basic/Resize.H      2005-11-27 13:58:59.000000000 +0100
|--- nucleo-gcc43/nucleo/image/processing/basic/Resize.H        2008-03-29 11:41:17.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 116
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/image/processing/basic/Transform.H nucleo-gcc43/nucleo/image/processing/basic/Transform.H
|*** nucleo/nucleo/image/processing/basic/Transform.H  2004-03-26 10:59:43.000000000 +0100
|--- nucleo-gcc43/nucleo/image/processing/basic/Transform.H    2008-03-29 11:41:43.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 130
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/network/tcp/TcpUtils.H nucleo-gcc43/nucleo/network/tcp/TcpUtils.H
|*** nucleo/nucleo/network/tcp/TcpUtils.H      2006-02-22 09:59:35.000000000 +0100
|--- nucleo-gcc43/nucleo/network/tcp/TcpUtils.H 2008-03-29 11:37:14.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 143
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/network/udp/StunResolverPrivate.H nucleo-gcc43/nucleo/network/udp/StunResolverPrivate.H
|*** nucleo/nucleo/network/udp/StunResolverPrivate.H    2007-01-16 14:17:04.000000000 +0100
|--- nucleo-gcc43/nucleo/network/udp/StunResolverPrivate.H      2008-03-29 11:36:41.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 156
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/network/udp/UdpPlusSender.H nucleo-gcc43/nucleo/network/udp/UdpPlusSender.H
|*** nucleo/nucleo/network/udp/UdpPlusSender.H  2004-11-03 11:50:34.000000000 +0100
|--- nucleo-gcc43/nucleo/network/udp/UdpPlusSender.H    2008-03-29 11:34:59.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 170
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/network/udp/UdpSender.H nucleo-gcc43/nucleo/network/udp/UdpSender.H
|*** nucleo/nucleo/network/udp/UdpSender.H      2006-03-04 00:22:52.000000000 +0100
|--- nucleo-gcc43/nucleo/network/udp/UdpSender.H        2008-03-29 11:34:16.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 183
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/network/udp/UdpSocket.H nucleo-gcc43/nucleo/network/udp/UdpSocket.H
|*** nucleo/nucleo/network/udp/UdpSocket.H      2007-01-16 14:17:04.000000000 +0100
|--- nucleo-gcc43/nucleo/network/udp/UdpSocket.H        2008-03-29 11:35:23.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 197
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/utils/AppUtils.H nucleo-gcc43/nucleo/utils/AppUtils.H
|*** nucleo/nucleo/utils/AppUtils.H    2007-02-25 10:42:45.000000000 +0100
|--- nucleo-gcc43/nucleo/utils/AppUtils.H      2008-03-29 11:31:21.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 213
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/utils/FileUtils.H nucleo-gcc43/nucleo/utils/FileUtils.H
|*** nucleo/nucleo/utils/FileUtils.H    2006-07-09 10:18:09.000000000 +0200
|--- nucleo-gcc43/nucleo/utils/FileUtils.H      2008-03-29 11:32:09.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 230
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/nucleo/utils/MD5.H nucleo-gcc43/nucleo/utils/MD5.H
|*** nucleo/nucleo/utils/MD5.H  2007-02-07 12:39:11.000000000 +0100
|--- nucleo-gcc43/nucleo/utils/MD5.H    2008-03-29 11:32:53.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 243
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/tests/test-ReactiveEngine.cxx nucleo-gcc43/tests/test-ReactiveEngine.cxx
|*** nucleo/tests/test-ReactiveEngine.cxx      2006-06-14 14:08:44.000000000 +0200
|--- nucleo-gcc43/tests/test-ReactiveEngine.cxx 2008-03-29 12:09:12.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 257
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -r -c nucleo/tests/test-TimeKeeper.cxx nucleo-gcc43/tests/test-TimeKeeper.cxx
|*** nucleo/tests/test-TimeKeeper.cxx  2006-06-14 14:08:44.000000000 +0200
|--- nucleo-gcc43/tests/test-TimeKeeper.cxx    2008-03-29 12:09:36.000000000 +0100
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
/home/michael/aur-get.24422.4054/nucleo-cvs/PKGBUILD: line 45: ./build-utils/bootstrap: No such file or directory
/home/michael/aur-get.24422.4054/nucleo-cvs/PKGBUILD: line 46: ./configure: No such file or directory
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.
    Aborting...


knudfl 03-20-2010 05:30 PM

Post # 1 : 'libpng-1.4.x' ( libpng14) could be a problem.?
No Linux OS (except Arch) uses libpng14, they all use libpng12,
so the most software is probably written with libpng12 in mind.
'libpng12' is available for Arch, ref. a recent LQ thread.

Post # 3 : Looks like a complete misfit between the build script
and the software.

If you can provide links for the software and the patches,
I may have have a chance to look at it.
.....

MTK358 03-20-2010 07:00 PM

Quote:

Originally Posted by knudfl (Post 3905941)
Post # 1 : 'libpng-1.4.x' ( libpng14) could be a problem.?
No Linux OS (except Arch) uses libpng14, they all use libpng12,
so the most software is probably written with libpng12 in mind.
'libpng12' is available for Arch, ref. a recent LQ thread.

I have installed libpng12 from the AUR before, because some software I use needs libpng12. So that's not a problem.

Code:

$ pacman -Qs libpng
local/libpng 1.4.1-1
    A collection of routines used to create PNG format graphics files
local/libpng12 1.2.40-1
    A collection of routines used to create PNG format graphics files

Quote:

Originally Posted by knudfl (Post 3905941)
Post # 3 : Looks like a complete misfit between the build script
and the software.

If you can provide links for the software and the patches,
I may have have a chance to look at it.

What does that mean?

knudfl 03-21-2010 05:14 AM

Using libpng12 for compiling :
1) /usr/bin/libpng-config : this link must point to libpng12-config
2) /usr/lib/pkgconfig/libpng.pc : link must point to libpng12.pc
3) /usr/lib/libpng.so : link must point to libpng12.so.0.XX.0


This is a link, an URL to nucleo-0.7.6
http://insitu.lri.fr/metisse/download/nucleo/
http://insitu.lri.fr/metisse/downloa...-0.7.6.tar.bz2

You still miss out to show, where you got nucleo-cvs
and the patches. URL's please.

.....

MTK358 03-21-2010 06:51 AM

Quote:

Originally Posted by knudfl (Post 3906351)
Using libpng12 for compiling :
/usr/bin/libpng-config : this link must point to libpng12-config
/usr/lib/pkgconfig/libpng.pc : link must point to libpng12.pc
/usr/lib/libpng.so : link must point to libpng12.so.0.XX.0

Is there a way around modifying those files directly?

If not, is ot OK to but them back to the way they were originally after successfully compiling Núcleo?

And it's funny what you said about only Arch using libpng14, I thought that in a previous thread someone told me that libpng12 is ancient and few things use it anymore.

knudfl 03-21-2010 03:26 PM

Quote:

.. is it OK to but them back to the way they were originally after ..
Of course, non of these files are used at run time.
The run time library is e.g. /usr/lib/libpng12.so.0 .

All the Linux OS in testing, I found, last time I checked it :
Debian Sid, Fedora 13, Fedora 14, use e.g. libpng-1.2.43 .
.....

MTK358 03-21-2010 03:55 PM

I don't seem to have a file called /usr/bin/libpng12-config.

knudfl 03-21-2010 04:17 PM

cd nucleo-0.7.6/ && ./configure
checking for libpng using pkg-config... yes

'nucleo' may not use the /usr/bin/libpng12-config,
but uses pkg-config instead.
Suggest : try building it, and see, what happens.
.....

MTK358 03-21-2010 04:19 PM

I don't understand.

knudfl 03-21-2010 04:31 PM

My way of testing things :
cd nucleo-0.7.6/
./configure --prefix=/home/knudfl/_nucleo-result/
&& make && make install
ls _nucleo-result/lib/
libNucleo.la* libNucleo.so@ libNucleo.so.0@
libNucleo.so.0.0.0* nucleo/ pkgconfig/
.....
etc. etc.
.....

MTK358 03-21-2010 04:56 PM

Code:

[michael:~]$ mkdir test
[michael:~]$ cd test
[michael:test]$ wget http://insitu.lri.fr/metisse/downloa...-0.7.3.tar.bz2
--2010-03-21 17:55:01--  http://insitu.lri.fr/metisse/downloa...-0.7.3.tar.bz2
Resolving insitu.lri.fr... 129.175.15.11
Connecting to insitu.lri.fr|129.175.15.11|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 826429 (807K) [application/x-tar]
Saving to: “nucleo-0.7.3.tar.bz2”

100%[======================================>] 826,429      173K/s  in 5.2s   

2010-03-21 17:55:06 (155 KB/s) - “nucleo-0.7.3.tar.bz2” saved [826429/826429]

[michael:test]$ ls
nucleo-0.7.3.tar.bz2
[michael:test]$ tar -xf nucleo-0.7.3.tar.bz2
[michael:test]$ ls
nucleo-0.7.3  nucleo-0.7.3.tar.bz2
[michael:test]$ cd nucleo-0.7.3
[michael:nucleo-0.7.3]$ ls
aclocal.m4  ChangeLog      data    LICENSE      nucleo            tests
apps        configure      demos    Makefile.am  nucleo-config.in
AUTHORS      configure.ac    docs    Makefile.in  nucleo.pc.in
build-utils  COPYING.LESSER  INSTALL  NEWS        README
[michael:nucleo-0.7.3]$ ./configure --prefix=/home/michael/test/
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking dependency style of gcc... (cached) gcc3
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld option to reload object files... -r
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C++ preprocessor... g++ -E
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC -DPIC
checking if g++ PIC flag -fPIC -DPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking size of void *... 8
checking size of unsigned... 4
debug unsigned int size: 4
The type void * is bigger than unsigned int.
checking tr1/unordered_map usability... yes
checking tr1/unordered_map presence... yes
checking for tr1/unordered_map... yes
checking hash_map usability... yes
checking hash_map presence... yes
checking for hash_map... yes
checking ext/hash_map usability... yes
checking ext/hash_map presence... yes
checking for ext/hash_map... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for GL/glx.h... yes
checking for pthread_create in -lpthread... yes
checking for glFlush in -lGL... yes
checking for gluUnProject in -lGLU... yes
checking for XListInputDevices in -lXi... yes
checking for glXGetProcAddress in -lGL... yes
checking for jpeg_start_decompress in -ljpeg... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for libpng using pkg-config... yes
checking for libexif using pkg-config... yes
checking for freetype2 using pkg-config... yes
checking for DNSServiceRegister in -ldns_sd... yes
checking dns_sd.h usability... yes
checking dns_sd.h presence... yes
checking for dns_sd.h... yes
checking for XML_GetFeatureList in -lexpat... yes
checking expat.h usability... yes
checking expat.h presence... yes
checking for expat.h... yes
checking for gnutls using pkg-config... yes
checking for dlfcn.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking for dlopen... yes
checking for libavformat using pkg-config... yes
checking for QtCore using pkg-config... yes
checking for gdlib-config... yes
checking for opencv using pkg-config... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating nucleo/nucleo.H
config.status: creating nucleo/Makefile
config.status: creating nucleo/core/Makefile
config.status: creating nucleo/core/select/Makefile
config.status: creating nucleo/core/corefoundation/Makefile
config.status: creating nucleo/core/carbon/Makefile
config.status: creating nucleo/core/cocoa/Makefile
config.status: creating nucleo/utils/Makefile
config.status: creating nucleo/xml/Makefile
config.status: creating nucleo/network/Makefile
config.status: creating nucleo/network/udp/Makefile
config.status: creating nucleo/network/tcp/Makefile
config.status: creating nucleo/network/http/Makefile
config.status: creating nucleo/network/dnssd/Makefile
config.status: creating nucleo/network/xmpp/Makefile
config.status: creating nucleo/image/Makefile
config.status: creating nucleo/image/encoding/Makefile
config.status: creating nucleo/image/source/Makefile
config.status: creating nucleo/image/sink/Makefile
config.status: creating nucleo/image/processing/Makefile
config.status: creating nucleo/image/processing/basic/Makefile
config.status: creating nucleo/image/processing/chromakeying/Makefile
config.status: creating nucleo/image/processing/convolution/Makefile
config.status: creating nucleo/image/processing/difference/Makefile
config.status: creating nucleo/image/processing/gamma/Makefile
config.status: creating nucleo/image/processing/noise/Makefile
config.status: creating nucleo/gl/Makefile
config.status: creating nucleo/gl/glIncludes.H
config.status: creating nucleo/gl/window/Makefile
config.status: creating nucleo/gl/texture/Makefile
config.status: creating nucleo/gl/text/Makefile
config.status: creating nucleo/gl/scenegraph/Makefile
config.status: creating nucleo/gl/shading/Makefile
config.status: creating nucleo/gl/window/keysym.H
config.status: creating nucleo/helpers/Makefile
config.status: creating nucleo/plugins/Makefile
config.status: creating nucleo/plugins/vnc/Makefile
config.status: creating nucleo/plugins/ffmpeg/Makefile
config.status: creating nucleo/plugins/qt/Makefile
config.status: creating nucleo/plugins/gd/Makefile
config.status: creating tests/Makefile
config.status: creating demos/Makefile
config.status: creating demos/video/Makefile
config.status: creating demos/misc/Makefile
config.status: creating demos/vnc/Makefile
config.status: creating demos/opencv/Makefile
config.status: creating demos/opencv/faceFinder/Makefile
config.status: creating demos/opencv/opticalFlow/Makefile
config.status: creating apps/Makefile
config.status: creating apps/videoServer/Makefile
config.status: creating data/Makefile
config.status: creating data/vera/Makefile
config.status: creating docs/Makefile
config.status: creating docs/MacOSX/Makefile
config.status: creating docs/MacOSX/nTest
config.status: WARNING:  'docs/MacOSX/nTest.in' seems to ignore the --datarootdir setting
config.status: creating docs/MacOSX/nBundle
config.status: WARNING:  'docs/MacOSX/nBundle.in' seems to ignore the --datarootdir setting
config.status: creating build-utils/Makefile
config.status: creating build-utils/rpm/Makefile
config.status: creating build-utils/rpm/nucleo.spec
config.status: creating nucleo-config
config.status: creating nucleo.pc
config.status: creating nucleo/config.H
config.status: executing depfiles commands
config.status: executing libtool commands

Núcleo configuration:

  Architecture: x86_64-unknown-linux-gnu
  ------
  glWindow backend?    GLX + Xinput glXGetProcAddress
  JPEG image support?  yes (using libjpeg)
  PNG image support?    yes (using libpng)
  EXIF support?        yes (using libexif)
  Freetype2 support?    yes
  DNS-SD support?      yes
  <eXpat/> support?    yes
  GnuTLS support?      yes
  ---
  FFmpeg plugin?        yes
  VNC plugin?          no (--with-vnc option not or badly used)
  Qt plugin?            yes
  GD plugin?            yes
  ------
  Build OpenCV demos?  no (opencv not found by pkg-config)
  Build tests?          yes

[michael:nucleo-0.7.3]$ make
Making all in nucleo
make[1]: Entering directory `/home/michael/test/nucleo-0.7.3/nucleo'
make  all-recursive
make[2]: Entering directory `/home/michael/test/nucleo-0.7.3/nucleo'
Making all in core
make[3]: Entering directory `/home/michael/test/nucleo-0.7.3/nucleo/core'
Making all in select
make[4]: Entering directory `/home/michael/test/nucleo-0.7.3/nucleo/core/select'
/bin/sh ../../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo  -I../../.. -I../../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT sTimeKeeper.lo -MD -MP -MF .deps/sTimeKeeper.Tpo -c -o sTimeKeeper.lo sTimeKeeper.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT sTimeKeeper.lo -MD -MP -MF .deps/sTimeKeeper.Tpo -c sTimeKeeper.cxx  -fPIC -DPIC -o .libs/sTimeKeeper.o
mv -f .deps/sTimeKeeper.Tpo .deps/sTimeKeeper.Plo
/bin/sh ../../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo  -I../../.. -I../../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT sFileKeeper.lo -MD -MP -MF .deps/sFileKeeper.Tpo -c -o sFileKeeper.lo sFileKeeper.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT sFileKeeper.lo -MD -MP -MF .deps/sFileKeeper.Tpo -c sFileKeeper.cxx  -fPIC -DPIC -o .libs/sFileKeeper.o
mv -f .deps/sFileKeeper.Tpo .deps/sFileKeeper.Plo
/bin/sh ../../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo  -I../../.. -I../../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT sReactiveEngine.lo -MD -MP -MF .deps/sReactiveEngine.Tpo -c -o sReactiveEngine.lo sReactiveEngine.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT sReactiveEngine.lo -MD -MP -MF .deps/sReactiveEngine.Tpo -c sReactiveEngine.cxx  -fPIC -DPIC -o .libs/sReactiveEngine.o
mv -f .deps/sReactiveEngine.Tpo .deps/sReactiveEngine.Plo
/bin/sh ../../../libtool --tag=CXX  --mode=link g++  -g -O2  -o libselect.la  sTimeKeeper.lo sFileKeeper.lo sReactiveEngine.lo  -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread  -lSM -lICE  -lXi -lpng14  -lexif -lm  -lfreetype  -lgnutls 
libtool: link: ar cru .libs/libselect.a .libs/sTimeKeeper.o .libs/sFileKeeper.o .libs/sReactiveEngine.o
libtool: link: ranlib .libs/libselect.a
libtool: link: ( cd ".libs" && rm -f "libselect.la" && ln -s "../libselect.la" "libselect.la" )
make[4]: Leaving directory `/home/michael/test/nucleo-0.7.3/nucleo/core/select'
make[4]: Entering directory `/home/michael/test/nucleo-0.7.3/nucleo/core'
/bin/sh ../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo  -I../.. -I../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT TimeKeeper.lo -MD -MP -MF .deps/TimeKeeper.Tpo -c -o TimeKeeper.lo TimeKeeper.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT TimeKeeper.lo -MD -MP -MF .deps/TimeKeeper.Tpo -c TimeKeeper.cxx  -fPIC -DPIC -o .libs/TimeKeeper.o
mv -f .deps/TimeKeeper.Tpo .deps/TimeKeeper.Plo
/bin/sh ../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo  -I../.. -I../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT FileKeeper.lo -MD -MP -MF .deps/FileKeeper.Tpo -c -o FileKeeper.lo FileKeeper.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT FileKeeper.lo -MD -MP -MF .deps/FileKeeper.Tpo -c FileKeeper.cxx  -fPIC -DPIC -o .libs/FileKeeper.o
mv -f .deps/FileKeeper.Tpo .deps/FileKeeper.Plo
/bin/sh ../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo  -I../.. -I../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT ReactiveEngine.lo -MD -MP -MF .deps/ReactiveEngine.Tpo -c -o ReactiveEngine.lo ReactiveEngine.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT ReactiveEngine.lo -MD -MP -MF .deps/ReactiveEngine.Tpo -c ReactiveEngine.cxx  -fPIC -DPIC -o .libs/ReactiveEngine.o
mv -f .deps/ReactiveEngine.Tpo .deps/ReactiveEngine.Plo
/bin/sh ../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo  -I../.. -I../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT ReactiveObject.lo -MD -MP -MF .deps/ReactiveObject.Tpo -c -o ReactiveObject.lo ReactiveObject.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT ReactiveObject.lo -MD -MP -MF .deps/ReactiveObject.Tpo -c ReactiveObject.cxx  -fPIC -DPIC -o .libs/ReactiveObject.o
mv -f .deps/ReactiveObject.Tpo .deps/ReactiveObject.Plo
/bin/sh ../../libtool --tag=CXX  --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo  -I../.. -I../.. -I/usr/include/libpng14    -I/usr/include/freetype2      -g -O2 -MT URI.lo -MD -MP -MF .deps/URI.Tpo -c -o URI.lo URI.cxx
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng14 -I/usr/include/freetype2 -g -O2 -MT URI.lo -MD -MP -MF .deps/URI.Tpo -c URI.cxx  -fPIC -DPIC -o .libs/URI.o
URI.cxx: In static member function ‘static std::string nucleo::URI::encode(const std::string&, int)’:
URI.cxx:195: error: ‘sprintf’ was not declared in this scope
make[4]: *** [URI.lo] Error 1
make[4]: Leaving directory `/home/michael/test/nucleo-0.7.3/nucleo/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/michael/test/nucleo-0.7.3/nucleo/core'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/michael/test/nucleo-0.7.3/nucleo'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/michael/test/nucleo-0.7.3/nucleo'
make: *** [all-recursive] Error 1
[michael:nucleo-0.7.3]$ echo $?
2
[michael:nucleo-0.7.3]$


smeezekitty 03-21-2010 05:12 PM

Does sprintf exist on your system?

knudfl 03-21-2010 05:31 PM

'nucleo-0.7.3' is buggy ( or too old ) and will display
the error : " ‘sprintf’ was not declared .."
on a modern Linux OS. This old version may require
an older version of gettext.

'nucleo-0.7.6' : No problems , no errors.
So why did you change away from the stable version ? ?

.....


All times are GMT -5. The time now is 06:17 AM.