Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
03-24-2010, 11:42 AM
#46
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
Quote:
Originally Posted by
MTK358
I deleted the directory /var/lib/pacman/local/libpng12pc-1.2.40 and pacman works fine now.
Now back to the original topic...
http://bbs.archlinux.org/viewtopic.php?id=46084
Have you seen that yet ?
03-24-2010, 11:45 AM
#47
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
So this is what I was planning on trying, tell me if this is right:
Create libpng12.pc and leave it in my home dir.
Link libpng.pc to the libpng12.pc in my home dir.
Compile Núcleo from the AUR.
Compile Metisse from the AUR.
Link libpng.pc back to libpng14.pc.
EDIT: I see you posted while I was typing this. I did see that page before, but I don't really understand it.
Last edited by MTK358; 03-24-2010 at 11:47 AM .
03-24-2010, 11:57 AM
#48
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
Quote:
Originally Posted by
MTK358
So this is what I was planning on trying, tell me if this is right:
Create libpng12.pc and leave it in my home dir.
Link libpng.pc to the libpng12.pc in my home dir.
Compile Núcleo from the AUR.
Compile Metisse from the AUR.
Link libpng.pc back to libpng14.pc.
EDIT: I see you posted while I was typing this. I did see that page before, but I don't really understand it.
It's worth the college try. Those steps are reversible if trouble is encountered.
The PKGBUILD may need
#include <stdlib.h>
at the top.
Then, a new path may need to be added to /etc/profiles file;
Add:
:/usr/local/bin
to it.
Also, you may consider trying:
http://aur.archlinux.org/packages.php?ID=9564
instead. This is why the thread is marked [SOLVED]. He used the cvs versions, and all went as planned. The two suggestions up there were his failures, but you could benefit from them. Neither of those are irreversible, so it's a safe try.
Hope this works, I have looked at the dark four corners of the web digging up relevant info.
Last edited by lupusarcanus; 03-24-2010 at 11:59 AM .
Reason: spelling correction
03-24-2010, 12:15 PM
#49
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
This is with libpng.pc as libpng12.pc, using the "nucleo" AUR package:
Code:
$ makepkg -s
==> Making package: nucleo 0.7.6-1 x86_64 (Wed Mar 24 13:11:59 EDT 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
-> Downloading nucleo-0.7.6.tar.bz2...
--2010-03-24 13:11:59-- http://insitu.lri.fr/metisse/download/nucleo/nucleo-0.7.6.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: 876827 (856K) [application/x-tar]
Saving to: “nucleo-0.7.6.tar.bz2.part”
100%[======================================>] 876,827 177K/s in 5.4s
2010-03-24 13:12:05 (159 KB/s) - “nucleo-0.7.6.tar.bz2.part” saved [876827/876827]
==> Validating source files with md5sums...
nucleo-0.7.6.tar.bz2 ... Passed
==> Extracting Sources...
-> Extracting nucleo-0.7.6.tar.bz2 with bsdtar
==> Entering fakeroot environment...
==> Starting build()...
< I cut out most of configure's output because the post is otherwise too long>
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
Making all in nucleo
<I had to cut out some of make's output, too.>
mv -f .deps/XmlStructure.Tpo .deps/XmlStructure.Plo
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT XmlParser.lo -MD -MP -MF .deps/XmlParser.Tpo -c -o XmlParser.lo XmlParser.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT XmlParser.lo -MD -MP -MF .deps/XmlParser.Tpo -c XmlParser.cxx -fPIC -DPIC -o .libs/XmlParser.o
mv -f .deps/XmlParser.Tpo .deps/XmlParser.Plo
/bin/sh ../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libxml.la XmlText.lo XmlStructure.lo XmlParser.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libxml.a .libs/XmlText.o .libs/XmlStructure.o .libs/XmlParser.o
libtool: link: ranlib .libs/libxml.a
libtool: link: ( cd ".libs" && rm -f "libxml.la" && ln -s "../libxml.la" "libxml.la" )
make[3]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/xml'
Making all in network
make[3]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network'
Making all in udp
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/udp'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpReceiver.lo -MD -MP -MF .deps/UdpReceiver.Tpo -c -o UdpReceiver.lo UdpReceiver.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpReceiver.lo -MD -MP -MF .deps/UdpReceiver.Tpo -c UdpReceiver.cxx -fPIC -DPIC -o .libs/UdpReceiver.o
mv -f .deps/UdpReceiver.Tpo .deps/UdpReceiver.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpSender.lo -MD -MP -MF .deps/UdpSender.Tpo -c -o UdpSender.lo UdpSender.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpSender.lo -MD -MP -MF .deps/UdpSender.Tpo -c UdpSender.cxx -fPIC -DPIC -o .libs/UdpSender.o
mv -f .deps/UdpSender.Tpo .deps/UdpSender.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlus.lo -MD -MP -MF .deps/UdpPlus.Tpo -c -o UdpPlus.lo UdpPlus.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlus.lo -MD -MP -MF .deps/UdpPlus.Tpo -c UdpPlus.cxx -fPIC -DPIC -o .libs/UdpPlus.o
mv -f .deps/UdpPlus.Tpo .deps/UdpPlus.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlusSender.lo -MD -MP -MF .deps/UdpPlusSender.Tpo -c -o UdpPlusSender.lo UdpPlusSender.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlusSender.lo -MD -MP -MF .deps/UdpPlusSender.Tpo -c UdpPlusSender.cxx -fPIC -DPIC -o .libs/UdpPlusSender.o
mv -f .deps/UdpPlusSender.Tpo .deps/UdpPlusSender.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlusReceiver.lo -MD -MP -MF .deps/UdpPlusReceiver.Tpo -c -o UdpPlusReceiver.lo UdpPlusReceiver.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpPlusReceiver.lo -MD -MP -MF .deps/UdpPlusReceiver.Tpo -c UdpPlusReceiver.cxx -fPIC -DPIC -o .libs/UdpPlusReceiver.o
mv -f .deps/UdpPlusReceiver.Tpo .deps/UdpPlusReceiver.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpSocket.lo -MD -MP -MF .deps/UdpSocket.Tpo -c -o UdpSocket.lo UdpSocket.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT UdpSocket.lo -MD -MP -MF .deps/UdpSocket.Tpo -c UdpSocket.cxx -fPIC -DPIC -o .libs/UdpSocket.o
mv -f .deps/UdpSocket.Tpo .deps/UdpSocket.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT StunResolver.lo -MD -MP -MF .deps/StunResolver.Tpo -c -o StunResolver.lo StunResolver.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT StunResolver.lo -MD -MP -MF .deps/StunResolver.Tpo -c StunResolver.cxx -fPIC -DPIC -o .libs/StunResolver.o
mv -f .deps/StunResolver.Tpo .deps/StunResolver.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT StunResolverPrivate.lo -MD -MP -MF .deps/StunResolverPrivate.Tpo -c -o StunResolverPrivate.lo StunResolverPrivate.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT StunResolverPrivate.lo -MD -MP -MF .deps/StunResolverPrivate.Tpo -c StunResolverPrivate.cxx -fPIC -DPIC -o .libs/StunResolverPrivate.o
mv -f .deps/StunResolverPrivate.Tpo .deps/StunResolverPrivate.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libudp.la UdpReceiver.lo UdpSender.lo UdpPlus.lo UdpPlusSender.lo UdpPlusReceiver.lo UdpSocket.lo StunResolver.lo StunResolverPrivate.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libudp.a .libs/UdpReceiver.o .libs/UdpSender.o .libs/UdpPlus.o .libs/UdpPlusSender.o .libs/UdpPlusReceiver.o .libs/UdpSocket.o .libs/StunResolver.o .libs/StunResolverPrivate.o
libtool: link: ranlib .libs/libudp.a
libtool: link: ( cd ".libs" && rm -f "libudp.la" && ln -s "../libudp.la" "libudp.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/udp'
Making all in tcp
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/tcp'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpUtils.lo -MD -MP -MF .deps/TcpUtils.Tpo -c -o TcpUtils.lo TcpUtils.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpUtils.lo -MD -MP -MF .deps/TcpUtils.Tpo -c TcpUtils.cxx -fPIC -DPIC -o .libs/TcpUtils.o
mv -f .deps/TcpUtils.Tpo .deps/TcpUtils.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpServer.lo -MD -MP -MF .deps/TcpServer.Tpo -c -o TcpServer.lo TcpServer.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpServer.lo -MD -MP -MF .deps/TcpServer.Tpo -c TcpServer.cxx -fPIC -DPIC -o .libs/TcpServer.o
mv -f .deps/TcpServer.Tpo .deps/TcpServer.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpConnection.lo -MD -MP -MF .deps/TcpConnection.Tpo -c -o TcpConnection.lo TcpConnection.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT TcpConnection.lo -MD -MP -MF .deps/TcpConnection.Tpo -c TcpConnection.cxx -fPIC -DPIC -o .libs/TcpConnection.o
mv -f .deps/TcpConnection.Tpo .deps/TcpConnection.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT Ping.lo -MD -MP -MF .deps/Ping.Tpo -c -o Ping.lo Ping.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT Ping.lo -MD -MP -MF .deps/Ping.Tpo -c Ping.cxx -fPIC -DPIC -o .libs/Ping.o
mv -f .deps/Ping.Tpo .deps/Ping.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libtcp.la TcpUtils.lo TcpServer.lo TcpConnection.lo Ping.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libtcp.a .libs/TcpUtils.o .libs/TcpServer.o .libs/TcpConnection.o .libs/Ping.o
libtool: link: ranlib .libs/libtcp.a
libtool: link: ( cd ".libs" && rm -f "libtcp.la" && ln -s "../libtcp.la" "libtcp.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/tcp'
Making all in http
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/http'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT HttpMessage.lo -MD -MP -MF .deps/HttpMessage.Tpo -c -o HttpMessage.lo HttpMessage.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT HttpMessage.lo -MD -MP -MF .deps/HttpMessage.Tpo -c HttpMessage.cxx -fPIC -DPIC -o .libs/HttpMessage.o
mv -f .deps/HttpMessage.Tpo .deps/HttpMessage.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT ServerPush.lo -MD -MP -MF .deps/ServerPush.Tpo -c -o ServerPush.lo ServerPush.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT ServerPush.lo -MD -MP -MF .deps/ServerPush.Tpo -c ServerPush.cxx -fPIC -DPIC -o .libs/ServerPush.o
mv -f .deps/ServerPush.Tpo .deps/ServerPush.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libhttp.la HttpMessage.lo ServerPush.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libhttp.a .libs/HttpMessage.o .libs/ServerPush.o
libtool: link: ranlib .libs/libhttp.a
libtool: link: ( cd ".libs" && rm -f "libhttp.la" && ln -s "../libhttp.la" "libhttp.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/http'
Making all in dnssd
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/dnssd'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT DNSServiceAnnouncer.lo -MD -MP -MF .deps/DNSServiceAnnouncer.Tpo -c -o DNSServiceAnnouncer.lo DNSServiceAnnouncer.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT DNSServiceAnnouncer.lo -MD -MP -MF .deps/DNSServiceAnnouncer.Tpo -c DNSServiceAnnouncer.cxx -fPIC -DPIC -o .libs/DNSServiceAnnouncer.o
mv -f .deps/DNSServiceAnnouncer.Tpo .deps/DNSServiceAnnouncer.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT DNSServiceBrowser.lo -MD -MP -MF .deps/DNSServiceBrowser.Tpo -c -o DNSServiceBrowser.lo DNSServiceBrowser.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT DNSServiceBrowser.lo -MD -MP -MF .deps/DNSServiceBrowser.Tpo -c DNSServiceBrowser.cxx -fPIC -DPIC -o .libs/DNSServiceBrowser.o
mv -f .deps/DNSServiceBrowser.Tpo .deps/DNSServiceBrowser.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libdnssd.la DNSServiceAnnouncer.lo DNSServiceBrowser.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libdnssd.a .libs/DNSServiceAnnouncer.o .libs/DNSServiceBrowser.o
libtool: link: ranlib .libs/libdnssd.a
libtool: link: ( cd ".libs" && rm -f "libdnssd.la" && ln -s "../libdnssd.la" "libdnssd.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/dnssd'
Making all in xmpp
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/xmpp'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT XmppConnection.lo -MD -MP -MF .deps/XmppConnection.Tpo -c -o XmppConnection.lo XmppConnection.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT XmppConnection.lo -MD -MP -MF .deps/XmppConnection.Tpo -c XmppConnection.cxx -fPIC -DPIC -o .libs/XmppConnection.o
XmppConnection.cxx: In member function ‘bool nucleo::XmppConnection::sendPresence(std::string, std::string, nucleo::XmppConnection::presenceType)’:
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
XmppConnection.cxx:769: warning: deprecated conversion from string constant to ‘char*’
mv -f .deps/XmppConnection.Tpo .deps/XmppConnection.Plo
/bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libxmpp.la XmppConnection.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: ar cru .libs/libxmpp.a .libs/XmppConnection.o
libtool: link: ranlib .libs/libxmpp.a
libtool: link: ( cd ".libs" && rm -f "libxmpp.la" && ln -s "../libxmpp.la" "libxmpp.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/xmpp'
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network'
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT NetworkUtils.lo -MD -MP -MF .deps/NetworkUtils.Tpo -c -o NetworkUtils.lo NetworkUtils.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT NetworkUtils.lo -MD -MP -MF .deps/NetworkUtils.Tpo -c NetworkUtils.cxx -fPIC -DPIC -o .libs/NetworkUtils.o
mv -f .deps/NetworkUtils.Tpo .deps/NetworkUtils.Plo
/bin/sh ../../libtool --tag=CXX --mode=link g++ -march=x86-64 -mtune=generic -O2 -pipe -Wl,--hash-style=gnu -Wl,--as-needed -o libnetwork.la NetworkUtils.lo udp/libudp.la tcp/libtcp.la http/libhttp.la dnssd/libdnssd.la xmpp/libxmpp.la -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lgnutls -ldl
libtool: link: (cd .libs/libnetwork.lax/libudp.a && ar x "/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/udp/.libs/libudp.a")
libtool: link: (cd .libs/libnetwork.lax/libtcp.a && ar x "/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/tcp/.libs/libtcp.a")
libtool: link: (cd .libs/libnetwork.lax/libhttp.a && ar x "/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/http/.libs/libhttp.a")
libtool: link: (cd .libs/libnetwork.lax/libdnssd.a && ar x "/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/dnssd/.libs/libdnssd.a")
libtool: link: (cd .libs/libnetwork.lax/libxmpp.a && ar x "/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network/xmpp/.libs/libxmpp.a")
libtool: link: ar cru .libs/libnetwork.a .libs/NetworkUtils.o .libs/libnetwork.lax/libudp.a/UdpSocket.o .libs/libnetwork.lax/libudp.a/UdpReceiver.o .libs/libnetwork.lax/libudp.a/UdpSender.o .libs/libnetwork.lax/libudp.a/UdpPlus.o .libs/libnetwork.lax/libudp.a/UdpPlusSender.o .libs/libnetwork.lax/libudp.a/StunResolver.o .libs/libnetwork.lax/libudp.a/StunResolverPrivate.o .libs/libnetwork.lax/libudp.a/UdpPlusReceiver.o .libs/libnetwork.lax/libtcp.a/TcpServer.o .libs/libnetwork.lax/libtcp.a/Ping.o .libs/libnetwork.lax/libtcp.a/TcpConnection.o .libs/libnetwork.lax/libtcp.a/TcpUtils.o .libs/libnetwork.lax/libhttp.a/ServerPush.o .libs/libnetwork.lax/libhttp.a/HttpMessage.o .libs/libnetwork.lax/libdnssd.a/DNSServiceAnnouncer.o .libs/libnetwork.lax/libdnssd.a/DNSServiceBrowser.o .libs/libnetwork.lax/libxmpp.a/XmppConnection.o
libtool: link: ranlib .libs/libnetwork.a
libtool: link: rm -fr .libs/libnetwork.lax
libtool: link: ( cd ".libs" && rm -f "libnetwork.la" && ln -s "../libnetwork.la" "libnetwork.la" )
make[4]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network'
make[3]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/network'
Making all in image
make[3]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/image'
Making all in encoding
make[4]: Entering directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/image/encoding'
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT Conversion.lo -MD -MP -MF .deps/Conversion.Tpo -c -o Conversion.lo Conversion.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT Conversion.lo -MD -MP -MF .deps/Conversion.Tpo -c Conversion.cxx -fPIC -DPIC -o .libs/Conversion.o
mv -f .deps/Conversion.Tpo .deps/Conversion.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT YpCbCr420.lo -MD -MP -MF .deps/YpCbCr420.Tpo -c -o YpCbCr420.lo YpCbCr420.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT YpCbCr420.lo -MD -MP -MF .deps/YpCbCr420.Tpo -c YpCbCr420.cxx -fPIC -DPIC -o .libs/YpCbCr420.o
mv -f .deps/YpCbCr420.Tpo .deps/YpCbCr420.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT PAM.lo -MD -MP -MF .deps/PAM.Tpo -c -o PAM.lo PAM.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT PAM.lo -MD -MP -MF .deps/PAM.Tpo -c PAM.cxx -fPIC -DPIC -o .libs/PAM.o
mv -f .deps/PAM.Tpo .deps/PAM.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT JPEG.lo -MD -MP -MF .deps/JPEG.Tpo -c -o JPEG.lo JPEG.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT JPEG.lo -MD -MP -MF .deps/JPEG.Tpo -c JPEG.cxx -fPIC -DPIC -o .libs/JPEG.o
mv -f .deps/JPEG.Tpo .deps/JPEG.Plo
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT PNGenc.lo -MD -MP -MF .deps/PNGenc.Tpo -c -o PNGenc.lo PNGenc.cxx
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=x86-64 -mtune=generic -O2 -pipe -MT PNGenc.lo -MD -MP -MF .deps/PNGenc.Tpo -c PNGenc.cxx -fPIC -DPIC -o .libs/PNGenc.o
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/png.h:1125)
PNGenc.cxx:38: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/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/png.h:1125)
PNGenc.cxx:133: warning: ‘png_struct_def::io_ptr’ is deprecated (declared at /usr/include/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/nucleo/src/nucleo-0.7.6/nucleo/image/encoding'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo/image'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/michael/aur/nucleo/src/nucleo-0.7.6/nucleo'
make: *** [all-recursive] Error 1
==> ERROR: Build Failed.
Aborting...
Quote:
Originally Posted by
leopard
#include <stdlib.h>
I don't understand. That's C code, the PKGBUILD is a bash script.
03-24-2010, 12:18 PM
#50
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
I also tried "nucleo-cvs":
Code:
$ makepkg -s
==> Determining latest cvs revision...
-> Version found: 20100324
==> Making package: nucleo-cvs 20100324-1 x86_64 (Wed Mar 24 13:19:18 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/nucleo-cvs/src/nucleo': No such file or directory
/home/michael/aur/nucleo-cvs/PKGBUILD: line 39: cd: /home/michael/aur/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: ^C
==> ERROR: Aborted by user! Exiting...
03-24-2010, 04:44 PM
#51
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
Hmm, is that cvs version a patch for the real one?
Maybe you can try that?
03-24-2010, 04:49 PM
#52
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
Damn. I just tried building it myself and got the same error.
I'm at home now, so give me some time to *&^% up my machine and see if I can help out.
03-24-2010, 07:01 PM
#53
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
Quote:
Originally Posted by
leopard
Damn. I just tried building it myself and got the same error.
I'm at home now, so give me some time to *&^% up my machine and see if I can help out.
OK.
03-25-2010, 07:56 AM
#54
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
Anyone?
03-25-2010, 09:08 AM
#55
Senior Member
Registered: Mar 2009
Location: USA
Distribution: Arch
Posts: 1,022
Rep:
I'm afraid to say I can't solve this mystery. I tried the bootstrap and gcc patches, and configured with all optional configurations off. I edited the PKGBUILD to remove the rm of current packages and tried a version from their website, installed all sorts of png-whatevers, and nothing works. I am led to believe this is a developer coding flaw. I downloaded several versions from their website and pretty much everything. The last thing I will try is the rpm way, but I am sorry to say I have not yet reached a solution.
Same error. Perhaps someone with more knowledge of C++ can edit the source code to make it work.
03-25-2010, 11:18 AM
#56
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
First test on x86_64 : 'Slackware 13 , 64 Bits'
Libpng = version 1.2.37-x86_64-1
Nucleo = version 0.7.6
> > Nucleo compiles with no errors.
If you want any info about 'nucleo-cvs' :
tell how and where, you got it.
.....
03-25-2010, 11:23 AM
#57
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
The only obvious difference (apart from the distro) is libpng12 instead of libpng14.
I wonder if it is possible to completely replace libpng14 with libpng12 in an Arch installation? If so, I can create a 64-bit Arch machine in VirtualBox, completely replace every trace of libpng14 with libpng12 on it, compile Núcleo on it, and transfer the binary to the host machine (my desktop).
Or maybe even just compile it on a different distro altogether?
03-25-2010, 11:51 AM
#58
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
You cannot remove libpng14. The most GUI stuff is compiled
with that one.
But you can easily compile Nucleo with libpng12.
Just do a temporarily rename of the libpng14 devel
files. To make sure, that no libpng14.pc or libpng14.so
is used : # mv libpng14.pc libpng14.pc-back
# mv libpng14.so libpng14.so-back
.....
03-25-2010, 12:04 PM
#59
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
I am installing 64-bit Arch in a VM, so I can play around with it and not risk messing up my desktop system.
03-25-2010, 01:28 PM
#60
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Original Poster
I'm posting from inside the VM now (using the Midori browser)!
Now what should I do so that Núcleo thinks it's being compiled with libpng12?
Last edited by MTK358; 03-25-2010 at 01:29 PM .
All times are GMT -5. The time now is 06:31 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News