[Fink-devel] root-kde-icons-noia can't compile.
While doing fink update-all, I found the following compilation error. Just a little question: while I have gcc_select 3.3, why is /usr/include/gcc/darwin/3.1/g++-v3/cmath included by g++3? dpkg-deb -b root-kde-icons-noia-0.95-3 /sw/fink/dists/stable/main/binary-darwin-powerpc/kde dpkg-deb: building package `kde-icons-noia' in `/sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb'. ln -sf /sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb /sw/fink/debs/ rm -rf /sw/src/root-kde-icons-noia-0.95-3 dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/kde/kde-icons- noia_0.95-3_darwin-powerpc.deb (Reading database ... 197665 files and directories currently installed.) Preparing to replace kde-icons-noia 0.95-2 (using .../kde-icons-noia_0.95-3_darwin-powerpc.deb) ... Unpacking replacement kde-icons-noia ... Setting up kde-icons-noia (0.95-3) ... mkdir -p /sw/src/kseg-0.3.5-12 gzip -dc /sw/src/kseg-0.35.tar.gz | /sw/bin/tar -xf - sed 's|@PREFIX@|/sw|g' /sw/fink/dists/stable/main/finkinfo/sci/kseg.patch | patch -p1 patching file Makefile patching file formula/Makefile patching file main.cpp make cd formula make g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt box.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt kformula.cpp /sw/bin/moc kformulaedit.H -o kformulaedit.moc g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt kformulaedit.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt matrixbox.cpp /sw/bin/moc MatrixDialog.H -o MatrixDialog.moc g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt MatrixDialog.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_point.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_line.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_segment.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_ray.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circle.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arc.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_locus.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcSector.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcSegment.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_polygon.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circleInterior.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_object.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_pointObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_lineObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_segmentObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_rayObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_circleObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_arcObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_locusObject.cpp g++3 -c -O2 -fno-rtti -fno-exceptions -fomit-frame-pointer -ffast-math -I/sw/include/qt G_pointLocus.cpp G_pointLocus.cpp: In member function `virtual void G_locusObject::generatePointLocus()': G_pointLocus.cpp:286: call of overloaded `log(int)' is ambiguous /usr/include/architecture/ppc/math.h:217: candidates are: double log(double) /usr/include/gcc/darwin/3.1/g++-v3/cmath:344: long double std::log(long double) /usr/include/gcc/darwin/3.1/g++-v3/cmath:336: float std::log(float) make: *** [G_pointLocus.o] Error 1 ### execution of make failed, exit code 2 Failed: compiling kseg-0.3.5-12 failed bash-2.05a# gcc_select Current default compiler: gcc version 3.3 20030304 (Apple Computer, Inc. build 1493) bash-2.05a# which g++3 /sw/bin/g++3 -- __Pascal Bourguignon__ http://www.informatimago.com/ --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ___
[Fink-devel] glib2-dev version?
Hello, I heard that a new version of fink appeared, so I fetched August 2003 DevTools and did fink self-update (worked well enough), and now I'm trying to run fink update-all, but there are problems: bash-2.05a# fink update-all Information about 1337 packages read in 2 seconds. Failed: Can't resolve dependency glib2-dev (= 2.2.1-4) for package gaim-0.71-1 (no matching packages/versions found) bash-2.05a# fink info glib2 Information about 1337 packages read in 2 seconds. glib2-2.0.6-3: Handy library of utility functions . Web site: http://www.gtk.org . Maintainer: Masanori Sekino [EMAIL PROTECTED] bash-2.05a# fink info glib2-dev Information about 1337 packages read in 2 seconds. glib2-dev-2.0.6-3: Handy library of utility functions . Web site: http://www.gtk.org . Maintainer: Masanori Sekino [EMAIL PROTECTED] bash-2.05a# fink update glib2-dev Information about 1337 packages read in 1 seconds. No packages to install. Does it mean what I believe it means? How could Max Horn compile his gaim package with glib2-dev-2.2.1 if it's not even available on fink yet? -- __Pascal Bourguignon__ http://www.informatimago.com/ --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Circular dependencies with xfree86?
Ok, I used yes '' | fink install ..., and now it installed system-xfree86 instead of xfree86-base and xfree86-rootless I wanted... So I'm trying to install xfree86-base to overwrite system-xfree86. I cannot remove system-xfree86 because there is a lot of package depending on it: su-2.05a# fink remove system-xfree86 Information about 1314 packages read in 1 seconds. dpkg --remove system-xfree86 dpkg: dependency problems prevent removal of system-xfree86: graphviz depends on x11; however: Package x11 is not installed. Package system-xfree86 which provides x11 is to be removed. xmountains depends on x11; however: Package x11 is not installed. Package system-xfree86 which provides x11 is to be removed. So: su-2.05a# fink install xfree86-base Information about 1314 packages read in 1 seconds. The following package will be installed or updated: xfree86-base dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb dpkg: considering removing system-xfree86 in favour of xfree86-base ... dpkg: may have trouble removing system-xfree86, as it provides libgl ... dpkg: no, cannot remove system-xfree86 (--auto-deconfigure will help): xmms-bin depends on libgl xfree86-rootless provides libgl but is unpacked but not configured. system-xfree86 provides libgl but is to be removed. dpkg: regarding .../xfree86-base_4.2.1.1-3_darwin-powerpc.deb containing xfree86-base: xfree86-base conflicts with x11 system-xfree86 provides x11 and is installed. dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb (--install): conflicting packages - not installing xfree86-base Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb ### execution of dpkg failed, exit code 1 Failed: can't install package xfree86-base-4.2.1.1-3 So, xfree86-base cannot replace system-xfree86 because it lacks libgl, but xfree86-rootless would provide libgl. Here we go: su-2.05a# fink install xfree86-base xfree86-rootless Information about 1314 packages read in 1 seconds. The following 2 packages will be installed or updated: xfree86-base xfree86-rootless dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- rootless_4.2.1.1-3_darwin-powerpc.deb /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb (Reading database ... 86101 files and directories currently installed.) Preparing to replace xfree86-rootless 4.2.1.1-3 (using .../xfree86-rootless_4.2.1.1-3_darwin-powerpc.deb) ... Unpacking replacement xfree86-rootless ... dpkg: considering removing system-xfree86 in favour of xfree86-base ... dpkg: may have trouble removing system-xfree86, as it provides libgl ... dpkg: no, cannot remove system-xfree86 (--auto-deconfigure will help): xmms-bin depends on libgl xfree86-rootless provides libgl but is unpacked but not configured. system-xfree86 provides libgl but is to be removed. dpkg: regarding .../xfree86-base_4.2.1.1-3_darwin-powerpc.deb containing xfree86-base: xfree86-base conflicts with x11 system-xfree86 provides x11 and is installed. dpkg: error processing /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb (--install): conflicting packages - not installing xfree86-base dpkg: dependency problems prevent configuration of xfree86-rootless: xfree86-rootless depends on xfree86-base (= 4.2.1.1-3); however: Package xfree86-base is not installed. dpkg: error processing xfree86-rootless (--install): dependency problems - leaving unconfigured Errors were encountered while processing: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb xfree86-rootless ### execution of dpkg failed, exit code 1 Failed: can't batch-install packages: /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- rootless_4.2.1.1-3_darwin-powerpc.deb /sw/fink/dists/stable/main/binary-darwin-powerpc/x11-system/xfree86- base_4.2.1.1-3_darwin-powerpc.deb So, to be able to install xfree86-base, I would need to install xfree86-rootless, but to be able to install xfree86-rootless, I would need to have xfree86-base first. Why isn't there a '--force' or a '--nodeps' option to fink, like there is in rpm? -- __Pascal Bourguignon__ http://www.informatimago.com/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] /sw/var/lib/dpkg/status damaged?
Now it seems the /sw/var/lib/dpkg/status is damaged. How do I recover it? dpkg -i /sw/fink/dists/stable/crypto/binary-darwin-powerpc/openssl097- dev_0.9.7b-1_darwin-powerpc.deb dpkg: parse error, in file `/sw/var/lib/dpkg/status' near line 1807 package `openssl097-dev': missing version ### execution of dpkg failed, exit code 2 -- __Pascal Bourguignon__ http://www.informatimago.com/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] fort77 can't be compiled.
fort77 can't be compiled. Is there a way to know what package needs it? bash-2.05a$ fink --version Package manager version: 0.13.7 Distribution version: 0.5.3.cvs Copyright (c) 2001 Christoph Pfisterer Copyright (c) 2001-2003 The Fink Package Manager Team This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. The following 2 additional packages will be installed: fort77 g77 Do you want to continue? [Y/n] y dpkg -i /sw/fink/dists/stable/main/binary-darwin-powerpc/libs/db3_3.3.11- 13_darwin-powerpc.deb Selecting previously deselected package db3. dpkg: considering removing db41-ssl in favour of db3 ... dpkg: yes, will remove db41-ssl in favour of db3. (Reading database ... 14953 files and directories currently installed.) Unpacking db3 (from .../db3_3.3.11-13_darwin-powerpc.deb) ... Setting up db3 (3.3.11-13) ... rm -rf fort77-1.18-4 mkdir -p /sw/src/fort77-1.18-4 gzip -dc /sw/src/fort77-1.18.tar.gz | /sw/bin/tar -xf - sed 's|PREFIX|/sw|g' /sw/fink/dists/stable/main/finkinfo/languages/fort77-1.18-4.patch | patch -p1 patching file fort77 echo no compile script no compile script rm -rf /sw/src/root-fort77-1.18-4 mkdir -p /sw/src/root-fort77-1.18-4/sw mkdir -p /sw/src/root-fort77-1.18-4/DEBIAN mkdir -p /sw/src/root-fort77-1.18-4/sw/bin mkdir -p /sw/src/root-fort77-1.18-4/sw/share/man/man1 make install BINDIR=/sw/src/root-fort77-1.18-4/sw/bin MANDIR=/sw/src/root-fort77-1.18-4/sw/share/man/man1 (cd tests; ./test.pl -v) ./fort77 -c foo.f ... test successful. ./fort77 -c bar.F ...bar.o not generated by ( ./fort77 -c bar.F ) /dev/null 21 ./fort77 -c -o gargle.o foo.f /fort77 foo.f /fort77 baz/bazfoo.f /fort77 -c baz/bazfoo.f /fort77 -o bar.o -c baz/ba\ zfoo.f /fort77 -o tscht foo.f /fort77 -k foo.f /fort77 -g -k foo.f /fort77 -c -f long.f /fort77 mainmiss.f \ /fort77 -c foo.f ./fort77 -c mainmiss.f ./fort77 -o foo foo.o mainmiss.o /fort77 -c foo.f ./fort77 -o foo foo.o mainmi\ ss.f /fort77 synerr.f touch gargle ...Total 1 error(s) encountered. make: *** [test] Error 1 ### execution of failed, exit code 2 Failed: installing fort77-1.18-4 failed -- __Pascal Bourguignon__ http://www.informatimago.com/ --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel
[Fink-devel] Re: Compiling CLISP on MacOSX
Dirk Bernhardt writes: Pascal Bourguignon [EMAIL PROTECTED] writes: clisp-2.29 is available with fink, but I've not been able to compile it so far. It worked here right out of the box, from fink stable. Obviously, there are unlisted prerequisites! On MacOSX 10.2, the developer tools are delivered with two versions of gcc: 2.95.2 and 3.1. clisp cannot be compiled with gcc 3.1. So, it should be documented that to compile clisp on MacOSX you need to activate gcc 2.95.2, which is done with: gcc_select 2 I effectively checked that fink can compile clisp-2.29-2 with gcc 2.95.2 on Darwin 6.6 (MacOSX 10.2). For the CVS HEAD of right now, I still get errors even with gcc 2.95.2. I could not test gcc 3.3 which comes along the upgrade (Dec2002gccUpdater.pkg) for 10.2, or along with 10.3 (mainly because the installation of that updater does not proceed correctly out of the box; Apple Computer Inc. seems to have forgotten to update gcc_select). With the CVS HEAD it seems that clisp/configure does not take into account the CC environment variable: It's still using 'gcc', while in by script, I explicitely set export CC='cc -no-cpp-precomp'. Obviously, since it's still using the cpp-precomp, it fails. [EMAIL PROTECTED] clisp]$ ../clisp-pjb-compile ../src/lndir: destination already exists: /local/src/clisp/src/bindings /local/src/clisp/src /local/src/clisp ./config.status --file=makemake config.status: creating makemake ./makemake --prefix=/usr/local --with-export-syscalls --with-module=queens --with-module=regexp --with-module=wildcard Makefile.tmp mv Makefile Makefile~ mv Makefile.tmp Makefile make: `config.lisp' is up to date. gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -Wno-sign-compare -O2 -DUNICODE -DNO_GETTEXT -DNO_SIGSEGV -c eval.c lispbibl.d:7385: illegal external declaration, missing `;' after `__SP' eval.d:1788: illegal expression, found `#' bytecode.d:4: illegal expression, found `' bytecode.d:5: illegal expression, found `' bytecode.d:6: illegal expression, found `' ... eval.d:1802: `aux' undeclared (first use in this function) eval.d:1802: `ende' undeclared (first use in this function) eval.d:1868: `badrest' undeclared (first use in this function) eval.d:1890: `allow' undeclared (first use in this function) eval.d:1782: warning: `item' might be used uninitialized in this function make: *** [eval.o] Error 1 #!/bin/bash if [ -r src/list.d ] ; then CLISP_SRC=`pwd` else echo Please change dir to clisp source dir first. exit 1 fi CLISP_INS=/usr/local CLISP_MOD=queens regexp wildcard CLISP_OPT=--prefix=${CLISP_INS} --with-export-syscalls --with-dynamic-ffi export CONFIG_SHELL=/bin/bash if [ $(uname) = Darwin ] ; then ulimit -S -s 8192 export CC='cc -no-cpp-precomp' CLISP_OPT=$(echo $CLISP_OPT|sed -e 's/--with-dynamic-ffi//') elif [ $(uname) = NEXTSTEP ] ; then export CFLAGS=-DNO_ASM fi # cd ${CLISP_SRC} $CONFIG_SHELL ./configure \ $CLISP_OPT \ `cd modules ; for m in ${CLISP_MOD} ; do echo --with-module=$m ; done` # pushd src ./makemake \ $CLISP_OPT \ `cd ../modules ; for m in ${CLISP_MOD} ; do echo --with-module=$m ; done` \ Makefile if [ $(uname) = Darwin ] ; then cp Makefile Makefile~ sed -e '/CFLAGS *=/s/\-O2\//' Makefile~ Makefile fi make config.lisp cp ../../clisp-pjb-config.lisp config.lisp make # # Finally, check and install umask 022 make check make test make testsuite make install -- __Pascal_Bourguignon__ http://www.informatimago.com/ -- Do not adjust your mind, there is a fault in reality. --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 ___ Fink-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/fink-devel