Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Jul 2001 04:52:38 -0700
From:      Kent Stewart <kstewart@urx.com>
To:        Kal Torak <kaltorak@quake.com.au>
Cc:        FreeBSD-stable <freebsd-stable@freebsd.org>, freebsd-ports@freebsd.org
Subject:   Re: kde2 - broken?
Message-ID:  <3B46F806.DA6A201@urx.com>
References:  <3B46E75C.D2EFE231@quake.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


Kal Torak wrote:
> 
> Hiyas,
> 
> When trying to make kde2 from the ports/x11/kde2/ dir
> I get a whole heap of errors about "qpngio"... I cvsup'd
> my ports but that didnt fix the error...
> 
> So is the port broken or is my system? I will include the
> out put from the make and the errors it produces.

When I have had an error like this, it was always a port that had a run
dep that was out of date. In my case it was because I built something
out of order. I used pib and went down the b-deps and r-deps for KDE-2.
You have to start at the bottom and make, pkg_delete, make install until
you get to the KDE-2 meta port. I think that was 18 hours of build time
on one machine and 3 hours on my fast one.

Kent
> 
> Thanks!
> Kal.
> 
>   ------------------------------------------------------------------------
> kernel/qpngio.cpp:47: png.h: No such file or directory
> kernel/qpngio.cpp:61: syntax error before `,'
> kernel/qpngio.cpp: In function `void iod_read_fn(...)':
> kernel/qpngio.cpp:63: `png_ptr' undeclared (first use this function)
> kernel/qpngio.cpp:63: (Each undeclared identifier is reported only once
> kernel/qpngio.cpp:63: for each function it appears in.)
> kernel/qpngio.cpp:63: implicit declaration of function `int png_get_io_ptr(...)'
> 
> kernel/qpngio.cpp:66: `length' undeclared (first use this function)
> kernel/qpngio.cpp:67: `data' undeclared (first use this function)
> kernel/qpngio.cpp:69: implicit declaration of function `int png_error(...)'
> kernel/qpngio.cpp: At top level:
> kernel/qpngio.cpp:78: syntax error before `,'
> kernel/qpngio.cpp:92: syntax error before `)'
> kernel/qpngio.cpp:105: syntax error before `,'
> kernel/qpngio.cpp: In function `void setup_qt(...)':
> kernel/qpngio.cpp:107: `info_ptr' undeclared (first use this function)
> kernel/qpngio.cpp:107: `PNG_INFO_gAMA' undeclared (first use this function)
> kernel/qpngio.cpp:107: implicit declaration of function `int png_get_valid(...)'
> 
> kernel/qpngio.cpp:109: implicit declaration of function `int png_get_gAMA(...)'
> kernel/qpngio.cpp:115: implicit declaration of function `int png_set_gamma(...)'
> 
> kernel/qpngio.cpp:119: syntax error before `;'
> kernel/qpngio.cpp:123: `width' undeclared (first use this function)
> kernel/qpngio.cpp:123: `height' undeclared (first use this function)
> kernel/qpngio.cpp:124: implicit declaration of function `int png_get_IHDR(...)'
> kernel/qpngio.cpp:126: `PNG_COLOR_TYPE_GRAY' undeclared (first use this function
> )
> kernel/qpngio.cpp:129: implicit declaration of function `int png_set_invert_mono
> (...)'
> kernel/qpngio.cpp:130: implicit declaration of function `int png_read_update_inf
> o(...)'
> kernel/qpngio.cpp:131: `image' undeclared (first use this function)
> kernel/qpngio.cpp:136: implicit declaration of function `int png_set_strip_16(..
> .)'
> kernel/qpngio.cpp:138: implicit declaration of function `int png_set_packing(...
> )'
> kernel/qpngio.cpp:146: `PNG_INFO_tRNS' undeclared (first use this function)
> kernel/qpngio.cpp:157: `PNG_COLOR_TYPE_PALETTE' undeclared (first use this funct
> ion)
> kernel/qpngio.cpp:157: `PNG_INFO_PLTE' undeclared (first use this function)
> kernel/qpngio.cpp:197: implicit declaration of function `int png_set_expand(...)
> '
> kernel/qpngio.cpp:199: `PNG_COLOR_TYPE_GRAY_ALPHA' undeclared (first use this fu
> nction)
> kernel/qpngio.cpp:200: implicit declaration of function `int png_set_gray_to_rgb
> (...)'
> kernel/qpngio.cpp:205: `PNG_COLOR_MASK_ALPHA' undeclared (first use this functio
> n)
> kernel/qpngio.cpp:209: `PNG_FILLER_BEFORE' undeclared (first use this function)
> kernel/qpngio.cpp:209: `PNG_FILLER_AFTER' undeclared (first use this function)
> kernel/qpngio.cpp:209: implicit declaration of function `int png_set_filler(...)
> '
> kernel/qpngio.cpp:216: implicit declaration of function `int png_set_swap_alpha(
> ...)'
> kernel/qpngio.cpp:224: implicit declaration of function `int png_set_bgr(...)'
> kernel/qpngio.cpp: At top level:
> kernel/qpngio.cpp:232: `png_structp' was not declared in this scope
> kernel/qpngio.cpp:232: syntax error before `)'
> kernel/qpngio.cpp:233: variable or field `qt_png_warning' declared void
> kernel/qpngio.cpp:233: initializer list being treated as compound expression
> kernel/qpngio.cpp:233: syntax error before `{'
> gmake[2]: *** [kernel/qpngio.o] Error 1
> gmake[1]: *** [src-mt] Error 2
> gmake: *** [src-mt] Error 2
> 
>   ------------------------------------------------------------------------
> ===>  Extracting for kde-2.1.1
> >> No MD5 checksum file.
> ===>   kde-2.1.1 depends on shared library: konq.4 - not found
> ===>    Verifying install for konq.4 in /usr/ports/x11/kdebase2
> ===>  Extracting for kdebase-2.1.1
> >> Checksum OK for kdebase-2.1.1.tar.bz2.
> ===>   kdebase-2.1.1 depends on executable: bzip2 - found
> ===>   kdebase-2.1.1 depends on executable: gmake - found
> ===>   kdebase-2.1.1 depends on shared library: intl.1 - found
> ===>   kdebase-2.1.1 depends on shared library: kdecore.4 - not found
> ===>    Verifying install for kdecore.4 in /usr/ports/x11/kdelibs2
> ===>  Extracting for kdelibs-2.1.2
> >> Checksum OK for kdelibs-2.1.2.tar.bz2.
> ===>   kdelibs-2.1.2 depends on executable: bzip2 - found
> ===>   kdelibs-2.1.2 depends on executable: gmake - found
> ===>   kdelibs-2.1.2 depends on shared library: tiff.4 - found
> ===>   kdelibs-2.1.2 depends on shared library: audiofile.0 - found
> ===>   kdelibs-2.1.2 depends on shared library: mimelib.3 - not found
> ===>    Verifying install for mimelib.3 in /usr/ports/converters/kdesupport2
> ===>  Extracting for kdesupport-2.1
> >> Checksum OK for kdesupport-2.1.tar.bz2.
> ===>   kdesupport-2.1 depends on executable: bzip2 - found
> ===>   kdesupport-2.1 depends on executable: gmake - found
> ===>   kdesupport-2.1 depends on shared library: png.4 - found
> ===>   kdesupport-2.1 depends on shared library: jpeg.9 - found
> ===>   kdesupport-2.1 depends on shared library: qt2.4 - not found
> ===>    Verifying install for qt2.4 in /usr/ports/x11-toolkits/qt23
> ===>  Building for qt-2.3.1
> (cd /usr/ports/x11-toolkits/qt23/work/qt-2.3.1; /usr/bin/env QTDIR=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1 LD_LIBRARY_PATH=/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/lib PORTOBJFORMAT=elf PREFIX=/usr/X11R6 LOCALBASE=/usr/local X11BASE=/usr/X11R6 MOTIFLIB="-L/usr/X11R6/lib -lXm -lXp" LIBDIR="/usr/lib" CFLAGS="-O -pipe" CXXFLAGS=" -O -pipe" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"  BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"  BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"  BSD_INSTALL_MAN="install -c -o root -g wheel -m 444" gmake -f Makefile  all)
> cd src/moc; gmake
> gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/moc'
> gmake[1]: Nothing to be done for `all'.
> gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src/moc'
> rm -f  bin/moc2
> cp src/moc/moc2 bin/moc2
> gmake -f src-mt.mk
> gmake[1]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1'
> cd src; gmake       'QT_THREAD_SUFFIX=-mt'          'QT_LFLAGS_MT=$(SYSCONF_LFLAGS_THREAD) $(SYSCONF_LIBS_THREAD)'          'QT_CXX_MT=$(SYSCONF_CXXFLAGS_THREAD) -DQT_THREAD_SUPPORT'      'QT_C_MT=$(SYSCONF_CFLAGS_THREAD) -DQT_THREAD_SUPPORT'
> gmake[2]: Entering directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src'
> c++ -pthread -D_THREAD_SAFE -DQT_THREAD_SUPPORT -c -I/usr/X11R6/include -I/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/include -pthread -D_THREAD_SAFE -I/usr/X11R6/include -DQT_PREFIX=\"/usr/X11R6\" -pipe -O -fno-exceptions  -O -pipe -I/usr/include -D_PTH_H_ -D_PTH_PTHREAD_H_ -frerun-cse-after-loop -fPIC -DQT_BUILTIN_GIF_READER=1 -DQT_XFT -fno-exceptions  -I/usr/local/include  -o kernel/qpngio.o kernel/qpngio.cpp
> gmake[2]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1/src'
> gmake[1]: Leaving directory `/usr/ports/x11-toolkits/qt23/work/qt-2.3.1'
> *** Error code 2
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/x11-toolkits/qt23.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/converters/kdesupport2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdelibs2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kdebase2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kde2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kde2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kde2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kde2.
> *** Error code 1
> 
> Stop in /usr/ports/x11/kde2.

-- 
Kent Stewart
Richland, WA

mailto:kbstew99@hotmail.com
http://kstewart.urx.com/kstewart/index.html
http://daily.daemonnews.org/

SETI (Search for Extraterrestrial Intelligence) @ Home
http://setiathome.ssl.berkeley.edu/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B46F806.DA6A201>