From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1I34Ee-0008Ee-81 for garchives@archives.gentoo.org; Tue, 26 Jun 2007 06:09:08 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l5Q68LoA008711; Tue, 26 Jun 2007 06:08:21 GMT Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l5Q68KgK008706 for ; Tue, 26 Jun 2007 06:08:20 GMT Received: by nz-out-0506.google.com with SMTP id n1so1602740nzf for ; Mon, 25 Jun 2007 23:08:20 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=kyPljQp15XxbxzKvsXV8DZfqSsn7ydpysmvgydjX0O0RguCJel1ZYCqsN9qWzKg93cOSfAd3YQ6W/ZNCBqnH8ZyrOuIpgM6PxugcodB/AhvYxVhpGtGQnpU5D2qhbbrlJG4UuXbTBmJuWFHlXC3qoOyeFwMaatTdwJy9X221Og4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:subject:from:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=XUXuAkXrDpB1G7M9q41RQ4veZFSKKESUc0jvMsx3k4J/h/U1sFkOmK3Vk+00lOcXL0lBeFwpZZLckqJ+Eo6RFJLqiAc+UZGnV+7tyGE/mJFEZwauoUFA7Ix2vXBBpl+5gfGHe3eYNi2zo3lNt7JefLOXTmBW68GB+0QpI4FUDCQ= Received: by 10.141.26.17 with SMTP id d17mr914341rvj.1182838099969; Mon, 25 Jun 2007 23:08:19 -0700 (PDT) Received: from ?192.168.2.155? ( [159.226.118.41]) by mx.google.com with ESMTP id b2sm6513376rvf.2007.06.25.23.08.18 (version=SSLv3 cipher=RC4-MD5); Mon, 25 Jun 2007 23:08:18 -0700 (PDT) Subject: Re: [gentoo-science] problem in coot-0.3.1 ebuild From: JinzhongLin To: gentoo-science@lists.gentoo.org In-Reply-To: <468007C1.2060700@gentoo.org> References: <1182753599.8144.12.camel@localhost> <467F6A19.5060904@gentoo.org> <1182759029.8056.4.camel@localhost> <468007C1.2060700@gentoo.org> Content-Type: text/plain; charset=UTF-8 Date: Tue, 26 Jun 2007 14:08:09 +0800 Message-Id: <1182838090.25990.18.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@gentoo.org Reply-to: gentoo-science@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l5Q68LoY008711 X-Archives-Salt: c1d6bee7-3365-4150-8994-796ab3ffff8e X-Archives-Hash: c15158a962b6162f84cc7af7a967816e =E5=9C=A8 2007-06-25=E4=B8=80=E7=9A=84 11:21 -0700=EF=BC=8CDonnie Berkhol= z=E5=86=99=E9=81=93=EF=BC=9A > JinzhongLin wrote: > > i got the same problem with USE=3D"new-interface" and moreover it se= ems > > like coot-0.3.1 couldn't be compiled aganist guile-gtk-2* >=20 > That's odd. In fact, I'm using the gtk+-2 coot right now and it works > great. What error are you getting? >=20 > Thanks, > Donnie >=20 when i emerge coot-0.3.1 with or withou USE=3D"new-interface", i got erro= r like this: checking for GLUT... no You need the GLUT utility library !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/sci-chemistry/coot-0.3.1/work/coot-0.3.1/config.log !!! ERROR: sci-chemistry/coot-0.3.1 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile coot-0.3.1.ebuild, line 88: Called econf '--includedir=3D ${prefix}/include/coot' '--with-gtkcanvas-prefix=3D/usr' '--with-clipper-prefix=3D/usr' '--with-mmdb-prefix=3D/usr' '--with-ssmlib-prefix=3D/usr' '--with-guile=3D/usr' '--with-python=3D/usr= ' '--with-guile-gtk' '--with-gtk2' ebuild.sh, line 578: Called die And i change into the work direcory=20 /var/tmp/portage/sci-chemistry/coot-0.3.1/work/coot-0.3.1 and run=20 coot-0.3.1 # ./configure --with-gtkcanvas-prefix=3D/usr --with-clipper-prefix=3D/usr --with-mmdb-prefix=3D/usr --with-ssmlib-prefix=3D/usr --with-guile=3D/usr --with-python=3D/usr --with-guile-gtk --with-gtk2 =20 it ends up with: checking for GLUT... no You need the GLUT utility library using '--without-gtk2' makes no differences. with command like this: coot-0.3.1 # ./configure --with-gtkcanvas-prefix=3D/usr --with-clipper-prefix=3D/usr --with-mmdb-prefix=3D/usr --with-ssmlib-prefix=3D/usr --with-guile=3D/usr --with-python=3D/usr --with-guile-gtk everything goes well So i edited the ebuild and removed the variable, at the same time let coot be compiled against gtk+-2=20 i got compile error :=20 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" -DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"= \" -DPACKAGE=3D\"coot\" -DVERSION=3D\"0.3.1\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STAT_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFC= N_H=3D1 -I. -I../compat -I../coords -I../ccp4mg-utils -I../coot-utils -I../intl -I../skeleton -I../angles -I../atom-utils -I../db-main -I../mini-mol -I../ligand -I../sequence-view -I../geometry -I../ideal -I../coot-surface -I../surface -I../density-contour -I../build -I../high-res -I../analysis -DUSE_GUILE -DUSE_GUILE_GTK -DHAVE_GTK_CANVAS -I/usr/include -I/usr/include/gnome-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -DHAVE_SSMLIB -I/usr/include/ssm -I/usr/include/mmdb -DHAVE_MMDB_IGNORE_HASH -I/usr/local/include -I/usr/include -DPKGDATADIR=3D\"/usr/share/coot\" -DPACKAGE_LOCALE_DIR=3D \"/usr/share/coot/locale\" -DDATADIR=3D\"/usr/share\" -DUSE_GUILE -DUSE_GUILE_GTK -DUSE_PYTHON -I/usr/include/python2.4 -DHAVE_GSL -O2 -march=3Dprescott -pipe -fomit-frame-pointer -msse3 -MT coot_wrap_guile.l= o -MD -MP -MF .deps/coot_wrap_guile.Tpo -c coot_wrap_guile.cc -fPIC -DPIC -o .libs/coot_wrap_guile.o coot_wrap_guile.cc: In function `void SWIG_init()': coot_wrap_guile.cc:26073: error: `void SWIG_init()' was declared `extern' and later `static' coot_wrap_guile.cc:18: error: previous declaration of `void SWIG_init()' make[1]: *** [coot_wrap_guile.lo] error 1 make[1]: Leaving directory `/var/tmp/portage/sci-chemistry/coot-0.3.1/work/coot-0.3.1/src' make: *** [all-recursive] error 1 Please help me out, Thanks, lithlin --=20 gentoo-science@gentoo.org mailing list