Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6344 - winesetuptk builds for "work"-dir (I think)
Summary: winesetuptk builds for "work"-dir (I think)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Nick Hadaway
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-11 17:01 UTC by Claes Strom
Modified: 2003-02-04 19:42 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 Claes Strom 2002-08-11 17:01:39 UTC
When I try to run winesetuptk I got the following on my screen:

-------------
Can't find a usable init.tcl in the following directories: 
   
/home/portage/tmp//portage/winesetuptk-0.6.0b-r2/work/winesetuptk-0.6.0b/tcltk-winesetuptk-0.6.0b/local/lib/tcl8.3



This probably means that Tcl wasn't installed properly.

    while executing
"error $msg"
    (procedure "tclInit" line 40)
    invoked from within
"tclInit"
---------------

I got tcl-8.3.3-r3, tk-8.3.3-r1, winesetuptk-0.6.0b-r2 installed on
my Gentoo 1.2 (i386) with 2.4.18-XFS built with GCC 2.9.5...

USE="mmx sse X dga xv gnome gtk bonobo evo gb gtkhtml imlib ncurses readline 
tcltk sdl svga gif jpeg png tiff avi mpeg quicktime alsa nas ggi dvd spell
truetype oggvorbis encode pam ssl crypt socks5 imap tcpd mozilla 
mozxmlterm  xml xml2 pdflib java perl python libwww 
postgres odbc gd gdbm acl samba nls doc gpm 
-3dnow -sse2 -3dfx -voodoo3 -matrox -apm -pcmcia -gphoto2 -cups -slp 
-opengl -fbcon -kde -arts -motif -esd -mikmod -oss -flash -ipv6 -snmp 
-ggz -ldap -xface -mozaccess-builtin -mozctl mozirc -plotutils -tetex 
-guile -ruby -slang -atlas -pic -berkdb -mysql -innodb -afs -zeo"

BTW I can't rebuild tk (but that should maybe be another one)
Comment 1 Nick Hadaway 2002-08-15 15:30:31 UTC
In order to help debug your problems I will need to see some sort of log 
information.  Based on what you have told me so far it looks like your tcl/tk 
installation isn't working.

# Update portage
emerge rsync
# Re-install tcl.
emerge tcl
# Then try installing tk
emerge tk
# Then try installing winesetuptk
emerge winesetuptk

Please let me know if things work for you.
Comment 2 Nick Hadaway 2002-09-02 11:27:04 UTC
you still around?  still having problems?  send me some logs!
Comment 3 Claes Strom 2002-09-05 18:04:09 UTC
As I wrote first: I can't "rebuild" tk!
I hav no problem to rebuild the other packages.
As a "newbie" to gentoo I run out of space in my var-part.
My solution was to make some symbilic links and move the
portage stuff (and also "/usr/portage").
Like this:
# mkdir /home/portage
# mv /usr/portage /home/portage/usr
# mv /var/tmp/portage /home/portage/tmp
# ln -s /usr/portage /home/portage/usr
# ln -s /var/tmp/portage /home/portage/tmp
# export PORTAGE_TMPDIR=/home/portage/tmp/ # (I have this in .profile)

This is the only "extravaganza" I think I have...

BTW pgaccess (GUI to postgres) works (it's a TCL/TK-program).

Here is my errors from "emerge tk":

# emerge tk
Calculating dependencies ...done!
>>> emerge dev-lang/tk-8.3.3-r1 to /
>>> md5 ;-) tk8.3.3.tar.gz
>>> Unpacking source...
>>> Unpacking tk8.3.3.tar.gz
>>> Source unpacked.
creating cache ./config.cache
checking for ranlib... ranlib
checking for gcc... cc
checking whether the C compiler (cc -march=i686 -O3 -pipe ) works... yes
checking whether the C compiler (cc -march=i686 -O3 -pipe ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
checking for unistd.h... yes
checking for limits.h... yes
checking for building with threads... yes
configure: warning: Tk on Unix is known to have problems with thread support. It
is recommended that Tk be used with a non-thread enabled Tcl.
checking for pthread_mutex_init in -lpthread... yes
checking if the compiler understands -pipe... yes
checking for Tcl configuration... found /usr/lib/tclConfig.sh
checking for existence of /usr/lib/tclConfig.sh... loading
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking system version (for dynamic loading)... Linux-2.4.18-xfs
checking for dlopen in -ldl... yes
checking for build with symbols... no
checking for sin... no
checking for main in -lieee... yes
checking stdlib.h... yes
checking fd_set and sys/select... yes
checking for ANSI C header files... yes
checking for mode_t... yes
checking for pid_t... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for sys/time.h... yes
checking whether time.h and sys/time.h may both be included... yes
checking pw_gecos in struct pwd... yes
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for main in -lXbsd... no
checking for connect... yes
checking for gethostbyname... yes
checking for sin... (cached) no
checking for main in -lieee... (cached) yes
checking whether char is unsigned... no
checking for strtod... yes
checking for Solaris 2.4 strtod bug... ok
checking how to build libraries... shared
updating cache ./config.cache
creating ./config.status
creating Makefile
creating tkConfig.sh
cc -pipe -c -march=i686 -O3 -pipe -Wall -Wconversion -Wno-implicit-int -fPIC
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../bitmaps
-I/home/portage/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3/generic
-I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1
-D_REENTRANT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tk3d.c
cc -pipe -c -march=i686 -O3 -pipe -Wall -Wconversion -Wno-implicit-int -fPIC
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic
-I/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../bitmaps
-I/home/portage/tmp/portage/tcl-8.3.3-r3/work/tcl8.3.3/generic
-I/usr/X11R6/include -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DTCL_THREADS=1
-D_REENTRANT=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TIME_H=1 -DTIME_WITH_SYS_TIME=1
-DHAVE_PW_GECOS=1      -DTCL_NO_DEPRECATED  
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkArgv.c
In file included from In file included from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkPort.h:32,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkInt.h:27,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tk3d.h:18,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tk3d.c:16:
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/../unix/tkUnixPort.h:228:
tclInt.h: No such file or directory
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkPort.h:32,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkArgv.c:16:
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/../unix/tkUnixPort.h:228:
tclInt.h: No such file or directory
In file included from /usr/include/math.h:350,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/../unix/tkUnixPort.h:45,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkPort.h:32,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkArgv.c:16:
/usr/include/bits/mathinline.h: In function `fabsf':
/usr/include/bits/mathinline.h:445: warning: passing arg 1 of `__builtin_fabsf'
as `float' rather than `double' due to prototype
In file included from /usr/include/math.h:350,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/../unix/tkUnixPort.h:45,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkPort.h:32,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tkInt.h:27,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tk3d.h:18,
                 from
/home/portage/tmp/portage/tk-8.3.3-r1/work/tk8.3.3/unix/../generic/tk3d.c:16:
/usr/include/bits/mathinline.h: In function `fabsf':
/usr/include/bits/mathinline.h:445: warning: passing arg 1 of `__builtin_fabsf'
as `float' rather than `double' due to prototype
make: *** [tkArgv.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [tk3d.o] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 9, Exitcode 2
!!! (no error message)

---------------

I'm goin to rebuild this machine from scratch now (of other reasons)...


/Claes

PS
I think tk was built before i moved the portage-stuff...
DS
Comment 4 Nick Hadaway 2002-09-11 11:57:03 UTC
My guess is that moving the portage directories around caused some problems.
Please let me know when you get your machine rebuilt.
Comment 5 Claes Strom 2002-09-12 16:26:59 UTC
Isn't this package still statically linked with tcl/tk (as meantioned in
Changelog) in the Debian tarball?

Try with some PORTAGE_TMPDIR and see if someone else could run then....

Maybe Gentoo should not build it statically (probably some .configure in
src_compile())?

If tcl/tk installed, maybe we could use it instead of the "boundled" (see
--with-tcltk=${S}/${MY_P1} in the ebuild)

PS I gonna test it when I've got an other Gentoo machine up and running...
Comment 6 Nick Hadaway 2002-09-17 17:06:03 UTC
It is built in with a different tcl/tk right in the source... because it has
some added patches specifically for use with this package.  So your external
tcl/tk installation shouldn't matter in the compile of this.