public inbox for gentoo-science@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-science] problem in coot-0.3.1 ebuild
@ 2007-06-25  6:39 JinzhongLin
  2007-06-25  7:09 ` Donnie Berkholz
  0 siblings, 1 reply; 5+ messages in thread
From: JinzhongLin @ 2007-06-25  6:39 UTC (permalink / raw
  To: gentoo-science

when i install coot-0.3.1, the configuratin was stuck reporting GLUT
missing, although GLUT did exist in the system. In the ebuild there is a
variable with(out)-gtk2 passed into the configuration, i don't know what
it is. but Deleteing it solved the glut problem. why it that??

-- 
gentoo-science@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] problem in coot-0.3.1 ebuild
  2007-06-25  6:39 [gentoo-science] problem in coot-0.3.1 ebuild JinzhongLin
@ 2007-06-25  7:09 ` Donnie Berkholz
  2007-06-25  8:10   ` JinzhongLin
  0 siblings, 1 reply; 5+ messages in thread
From: Donnie Berkholz @ 2007-06-25  7:09 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

JinzhongLin wrote:
> when i install coot-0.3.1, the configuratin was stuck reporting GLUT
> missing, although GLUT did exist in the system. In the ebuild there is a
> variable with(out)-gtk2 passed into the configuration, i don't know what
> it is. but Deleteing it solved the glut problem. why it that??

Are you building without USE="new-interface"? If so, try with. It could
be that the configure script is broken when passing --without-gtk2.

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] problem in coot-0.3.1 ebuild
  2007-06-25  7:09 ` Donnie Berkholz
@ 2007-06-25  8:10   ` JinzhongLin
  2007-06-25 18:21     ` Donnie Berkholz
  0 siblings, 1 reply; 5+ messages in thread
From: JinzhongLin @ 2007-06-25  8:10 UTC (permalink / raw
  To: gentoo-science

在 2007-06-25一的 00:09 -0700,Donnie Berkholz写道:
> JinzhongLin wrote:
> > when i install coot-0.3.1, the configuratin was stuck reporting GLUT
> > missing, although GLUT did exist in the system. In the ebuild there is a
> > variable with(out)-gtk2 passed into the configuration, i don't know what
> > it is. but Deleteing it solved the glut problem. why it that??
> 
> Are you building without USE="new-interface"? If so, try with. It could
> be that the configure script is broken when passing --without-gtk2.
> 
> Thanks,
> Donnie
> 

i got the same problem with USE="new-interface"  and moreover it seems
like coot-0.3.1 couldn't be compiled aganist guile-gtk-2*

-- 
gentoo-science@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] problem in coot-0.3.1 ebuild
  2007-06-25  8:10   ` JinzhongLin
@ 2007-06-25 18:21     ` Donnie Berkholz
  2007-06-26  6:08       ` JinzhongLin
  0 siblings, 1 reply; 5+ messages in thread
From: Donnie Berkholz @ 2007-06-25 18:21 UTC (permalink / raw
  To: gentoo-science

[-- Attachment #1: Type: text/plain, Size: 285 bytes --]

JinzhongLin wrote:
> i got the same problem with USE="new-interface"  and moreover it seems
> like coot-0.3.1 couldn't be compiled aganist guile-gtk-2*

That's odd. In fact, I'm using the gtk+-2 coot right now and it works
great. What error are you getting?

Thanks,
Donnie


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-science] problem in coot-0.3.1 ebuild
  2007-06-25 18:21     ` Donnie Berkholz
@ 2007-06-26  6:08       ` JinzhongLin
  0 siblings, 0 replies; 5+ messages in thread
From: JinzhongLin @ 2007-06-26  6:08 UTC (permalink / raw
  To: gentoo-science

在 2007-06-25一的 11:21 -0700,Donnie Berkholz写道:
> JinzhongLin wrote:
> > i got the same problem with USE="new-interface"  and moreover it seems
> > like coot-0.3.1 couldn't be compiled aganist guile-gtk-2*
> 
> That's odd. In fact, I'm using the gtk+-2 coot right now and it works
> great. What error are you getting?
> 
> Thanks,
> Donnie
> 

when i emerge coot-0.3.1 with or withou USE="new-interface", i got error
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=
${prefix}/include/coot' '--with-gtkcanvas-prefix=/usr'
'--with-clipper-prefix=/usr' '--with-mmdb-prefix=/usr'
'--with-ssmlib-prefix=/usr' '--with-guile=/usr' '--with-python=/usr'
'--with-guile-gtk' '--with-gtk2'
  ebuild.sh, line 578:   Called die

And i change into the work direcory 
/var/tmp/portage/sci-chemistry/coot-0.3.1/work/coot-0.3.1

and run 

coot-0.3.1 # ./configure --with-gtkcanvas-prefix=/usr
--with-clipper-prefix=/usr --with-mmdb-prefix=/usr
--with-ssmlib-prefix=/usr --with-guile=/usr --with-python=/usr
--with-guile-gtk --with-gtk2
 
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=/usr
--with-clipper-prefix=/usr --with-mmdb-prefix=/usr
--with-ssmlib-prefix=/usr --with-guile=/usr --with-python=/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 

i got compile error : 
i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\"
-DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
-DPACKAGE=\"coot\" -DVERSION=\"0.3.1\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1
-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=\"/usr/share/coot\" -DPACKAGE_LOCALE_DIR=
\"/usr/share/coot/locale\" -DDATADIR=\"/usr/share\" -DUSE_GUILE
-DUSE_GUILE_GTK -DUSE_PYTHON -I/usr/include/python2.4 -DHAVE_GSL -O2
-march=prescott -pipe -fomit-frame-pointer -msse3 -MT coot_wrap_guile.lo
-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




-- 
gentoo-science@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2007-06-26  6:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-25  6:39 [gentoo-science] problem in coot-0.3.1 ebuild JinzhongLin
2007-06-25  7:09 ` Donnie Berkholz
2007-06-25  8:10   ` JinzhongLin
2007-06-25 18:21     ` Donnie Berkholz
2007-06-26  6:08       ` JinzhongLin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox