Summary: | Scilab 3 completes emerge but fails to run | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexander Hsia <xanderhsia> |
Component: | Current packages | Assignee: | Gentoo Science Related Packages <sci> |
Status: | RESOLVED WORKSFORME | ||
Severity: | critical | CC: | greg_g |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Alexander Hsia
2004-11-03 09:14:54 UTC
If you look in the ebuild, there's exactly a part in pkg_postinst() to remove those references, and in fact it works here. It's really strange it didn't work for you... In my scilab-3.0.ebuild freshly synced this morning, I don't see any pkg_postinst commands that would clean this up. All I have in postinst is: 167 pkg_postinst() { 168 einfo "To tell Scilab about your printers, set the environment" 169 einfo "variable PRINTERS in the form:" 170 einfo 171 einfo "PRINTERS=\"firstPrinter:secondPrinter:anotherPrinter\"" 172 } So just a bunch of info statements. Is is supposed to be different than this? whops, I meant pkg_preinst(), sorry! OK. It works now; although not from anything I did to the ebuild. Unfortunately, I allowed a lot of other things to change in the background due to an emerge -u world, so I am unsure as to what fixed it. Just in case someone else runs into this; here's a laundry list of things I changed just before I got scilab working. glibc updated to 2.3.4.20041102 gcc updated to 3.4.3 Unmerge completely scilab, tcl, & tk. Set the CFLAGS to +tcltk and +gtk2 but -gtk emerge scilab and let it rebuild both tcl,tk, and scilab Incidentally, my original problem of weird malloc problems pointing at tk on startup are also gone. So, let's close this as WORKSFORME. This solution does not work for me: I did: emerge -C scilab, tcl tk Set the CFLAGS to +tcltk and +gtk2 but -gtk emerge -bv scilab (and let it rebuild both tcl,tk, and scilab) problem still happens: pointers to /var/tmp/portage emerge info: Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-ck2 i686) ================================================================= System uname: 2.6.9-ck2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz Gentoo Base System version 1.6.7 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Nov 25 2004, 08:35:54)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10 virtual/os-headers: 2.6.8.1-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks sandbox" GENTOO_MIRRORS="ftp://mirror.nutsmaas.nl/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm arts artswrappersuid atlas audiofile avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd encode esd f77 fftw foomaticdb fortran gdbm gif gpm gstreamer gtk2 imlib java jpeg kde ldap libaudiofile libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline scanner sdl slang sndfile spell sse ssl svga tcltk tcpd theora tiff truetype usb wifi wxwindows x86 xine xml2 xmms xv xvid zlib" |