Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50848 - app-sci/molden4.0 works on amd64
Summary: app-sci/molden4.0 works on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 06:22 UTC by Andreas Korinek
Modified: 2004-05-21 05:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Korinek 2004-05-12 06:22:33 UTC
please add amd64 to app-sci/molden4.0

USE must contain f77 to compile

Portage 2.0.50-r6 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.11
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo/ ftp://ftp.vic.keypoint.com.au"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 apache2 arts avi berkdb cdr crypt cups dga dvd encode esd foomaticdb gd gdbm gif gpm gtk gtk2 imlib java jpeg kde libg++ libwww mikmod motif mpeg mysql ncurses nls nogcj oggvorbis opengl oss pam pcmcia pdflib perl png ppds python qt quicktime readline sdl slang spell ssl tcltk tcpd tetex truetype usb xml2 xmms xosd xv zlib"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-05-20 13:25:25 UTC
Doesn't work for me. It stops while compiling the OpenGL helper...

 * Building Molden OpenGL helper...
gcc -O2 -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0   -c -o oglmol.o oglmol.c
gcc -O2 -c -I/usr/X11R6/include -DDOBACK -DHASTIMER -DCOLOR_OFFSET=0.0   -c -o silly.o silly.c
oglmol.c:26:21: GL/glut.h: No such file or directory
oglmol.c:37: warning: `ecol' initialized and declared `extern'
oglmol.c:38: warning: `bgcol' initialized and declared `extern'
oglmol.c:39: warning: `perspon' initialized and declared `extern'
oglmol.c:40: warning: `tr_val' initialized and declared `extern'
oglmol.c:41: warning: `mapped' initialized and declared `extern'
oglmol.c:43: warning: `hires' initialized and declared `extern'
oglmol.c:44: warning: `poszz' initialized and declared `extern'
oglmol.c:46: warning: `lines' initialized and declared `extern'
oglmol.c:47: warning: `spacefill' initialized and declared `extern'
oglmol.c:48: warning: `atcol' initialized and declared `extern'
oglmol.c:49: warning: `width' initialized and declared `extern'
oglmol.c:50: warning: `height' initialized and declared `extern'
oglmol.c:51: warning: `RotType' initialized and declared `extern'
silly.c:27:21: GL/glut.h: No such file or directory
silly.c:84: warning: `diffuseColor' initialized and declared `extern'
silly.c:178: error: syntax error before '*' token
silly.c:178: warning: data definition has no type or storage class
silly.c:179: error: syntax error before '*' token
silly.c:179: warning: data definition has no type or storage class
silly.c:186: warning: `AtomColors' initialized and declared `extern'
silly.c: In function `save_ps':
silly.c:1444: error: `GLUT_WINDOW_WIDTH' undeclared (first use in this function)
silly.c:1444: error: (Each undeclared identifier is reported only once
silly.c:1444: error: for each function it appears in.)
silly.c:1445: error: `GLUT_WINDOW_HEIGHT' undeclared (first use in this function)
silly.c: In function `save_pixmap':
silly.c:1532: error: `GLUT_WINDOW_WIDTH' undeclared (first use in this function)
silly.c:1533: error: `GLUT_WINDOW_HEIGHT' undeclared (first use in this function)
silly.c: In function `save_rgb':
silly.c:1625: error: `GLUT_WINDOW_WIDTH' undeclared (first use in this function)
silly.c:1626: error: `GLUT_WINDOW_HEIGHT' undeclared (first use in this function)
silly.c: In function `save_bmp':
silly.c:1715: error: `GLUT_WINDOW_WIDTH' undeclared (first use in this function)
silly.c:1716: error: `GLUT_WINDOW_HEIGHT' undeclared (first use in this function)
silly.c: In function `SpecialKey':
silly.c:2251: error: `GLUT_KEY_LEFT' undeclared (first use in this function)
silly.c:2254: error: `GLUT_KEY_RIGHT' undeclared (first use in this function)
silly.c:2257: error: `GLUT_KEY_UP' undeclared (first use in this function)
silly.c:2260: error: `GLUT_KEY_DOWN' undeclared (first use in this function)
silly.c:2263: error: `GLUT_KEY_F9' undeclared (first use in this function)
silly.c:2266: error: `GLUT_KEY_F10' undeclared (first use in this function)
silly.c:2269: error: `GLUT_KEY_F11' undeclared (first use in this function)
silly.c:2272: error: `GLUT_KEY_F12' undeclared (first use in this function)
silly.c: In function `mouse':
silly.c:2336: error: `GLUT_LEFT_BUTTON' undeclared (first use in this function)
silly.c:2337: error: `GLUT_DOWN' undeclared (first use in this function)
silly.c:2339: error: `GLUT_ACTIVE_SHIFT' undeclared (first use in this function)
silly.c:2343: error: `GLUT_ACTIVE_CTRL' undeclared (first use in this function)
silly.c:2352: error: `GLUT_UP' undeclared (first use in this function)
silly.c: In function `capture_select':
silly.c:2490: error: `GLUT_CURSOR_WAIT' undeclared (first use in this function)
silly.c:2496: error: `GLUT_CURSOR_INHERIT' undeclared (first use in this function)
silly.c: In function `initog_':
silly.c:2560: error: `GLUT_DOUBLE' undeclared (first use in this function)
silly.c:2560: error: `GLUT_RGB' undeclared (first use in this function)
silly.c:2560: error: `GLUT_DEPTH' undeclared (first use in this function)
silly.c:2610: error: `GLUT_RIGHT_BUTTON' undeclared (first use in this function)
silly.c:2665: warning: assignment makes pointer from integer without a cast
silly.c:2666: warning: assignment makes pointer from integer without a cast
make: *** [silly.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [oglmol.o] Error 1

!!! ERROR: app-sci/molden-4.0 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! moldenogl emake failed
Comment 2 Andreas Korinek 2004-05-20 13:55:13 UTC
Perhaps missing media-libs/glut?
Comment 3 Danny van Dyk (RETIRED) gentoo-dev 2004-05-21 05:36:23 UTC
it was merged, but somehow a remerge solved my problem...
ok, it starts and i can play around with it... marked ~amd64.