It is currently Sun May 19, 2013 12:05 pm

All times are UTC




Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Tcl/Tk
PostPosted: Thu Jan 12, 2012 3:34 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
A software install failed because it couldn't find the Tcl or Tk file(s) in any .../include directories.
Is there anything I can do about that? I already installed the standard Tcl/Tk package with netpkg.


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Thu Jan 12, 2012 3:46 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Dec 28, 2007 2:36 pm
Posts: 1285
I use Pysol that needs tcl tk and works.
Maybe your app needs some more deps
Maybe you can tell us what software failed?


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Thu Jan 12, 2012 4:31 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
> Maybe you can tell us what software failed?

The software is Batteries, a popular utility library for OCaml. I was trying to add it to an OCaml distribution called GODI, using a program called godi_console.

Here's the output:

> Checking /usr/pkg/include/(tcl|tk)8.3...
> Checking /opt/pkg/include/(tcl|tk)8.3...
> Checking /opt/local/include/(tcl|tk)8.3...
> Checking /opt/sfw/include/(tcl|tk)8.3...
> Checking /sw/include/(tcl|tk)8.3...
> Checking /cw/include/(tcl|tk)8.3...
> Checking /usr/include/(tcl|tk)8.2...
> Checking /usr/local/include/(tcl|tk)8.2...
> Checking /usr/pkg/include/(tcl|tk)8.2...
> Checking /opt/pkg/include/(tcl|tk)8.2...
> Checking /opt/local/include/(tcl|tk)8.2...
> Checking /opt/sfw/include/(tcl|tk)8.2...
> Checking /sw/include/(tcl|tk)8.2...
> Checking /cw/include/(tcl|tk)8.2...
> Checking /usr/include/(tcl|tk)8.1...
> Checking /usr/local/include/(tcl|tk)8.1...
> Checking /usr/pkg/include/(tcl|tk)8.1...
> Checking /opt/pkg/include/(tcl|tk)8.1...
> Checking /opt/local/include/(tcl|tk)8.1...
> Checking /opt/sfw/include/(tcl|tk)8.1...
> Checking /sw/include/(tcl|tk)8.1...
> Checking /cw/include/(tcl|tk)8.1...
> Checking /usr/include/(tcl|tk)8.0...
> Checking /usr/local/include/(tcl|tk)8.0...
> Checking /usr/pkg/include/(tcl|tk)8.0...
> Checking /opt/pkg/include/(tcl|tk)8.0...
> Checking /opt/local/include/(tcl|tk)8.0...
> Checking /opt/sfw/include/(tcl|tk)8.0...
> Checking /sw/include/(tcl|tk)8.0...
> Checking /cw/include/(tcl|tk)8.0...
> ===> TCL/TK not found
> Error: Exec error: File /home/dan/ocaml/godi/build/conf/conf-tcltk/./../../mk/bsd.pkg.mk, line 1022: Command returned with non-zero exit cod
e
> Error: Exec error: File /home/dan/ocaml/godi/build/conf/conf-tcltk/./../../mk/bsd.pkg.mk, line 1375: Command returned with non-zero exit cod
e

### Error: Command fails with code 1: godi_console


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Thu Jan 12, 2012 5:14 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Dec 28, 2007 2:36 pm
Posts: 1285
No idea
try
http://www.archlinux.org/packages/extra/i686/ocaml/


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Thu Jan 12, 2012 6:15 pm 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
Are you on snapshot or zenwalk-7.0 ?
Did you install ocaml from the repo ?

Bip


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Thu Jan 12, 2012 9:10 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
Zenwalk is 7.0.
OCaml is the latest godi download, godi-rocketboost-20110811.


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Fri Jan 13, 2012 9:42 am 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
I suppose you follow this ; http://godi.camlcity.org/godi/get_godi.html

Did you install boost package ?
There is boost in the godi name so maybe it is needed ?

Bip


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Fri Jan 13, 2012 6:57 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
> I suppose you follow this ; http://godi.camlcity.org/godi/get_godi.html

Yes, that's it.

> Did you install boost package ?
> There is boost in the godi name so maybe it is needed ?

I doubt it. "Rocket boost" is probably just the name of that version of godi.


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sat Jan 14, 2012 1:02 pm 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
I installed GODI :

Code:
All GODI bootstrap stages have been successfully completed.

A very minimum set of packages has been installed.
You can now start the tool godi_console to build further
packages. This tool has a curses-based user interface, and
is self-explanatory (type 'h' to get the help screen).

To get at least the libraries coming with the official
O'Caml distribution, just install godi-ocaml-all.

Please remember to add
    /opt/godi/bin
and
    /opt/godi/sbin
to your PATH environment variable.
If necessary, please remember to add
    /opt/godi/man
to your MANPATH environment variable.

Thank you for using GODI.


Did you add the GODI PATH in yours ?

Bip


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sat Jan 14, 2012 6:09 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
> Did you add the GODI PATH in yours ?

Yes, that's all taken care of:
Code:
$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/games/bin:/usr/lib/java/bin:.:/home/dan/bin:/home/dan/.odb/bin:/home/dan/ocaml/godi/bin:/home/dan/ocaml/godi/sbin


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sat Jan 14, 2012 8:35 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
How about we start with an easy question: Why don't there seem to be any header files installed for tcl/tk after I installed the latest version with netpkg?


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sat Jan 14, 2012 9:06 pm 
Master of the known universe
Master of the known universe
User avatar

Joined: Fri Dec 28, 2007 2:36 pm
Posts: 1285
I found this

http://www.tkdocs.com/tutorial/install.html

Setup your Development Environment
You'll need to make sure you have a fairly robust development environment on your machine. Besides the usual gcc and friends, make sure that you've got the X11 development files (e.g. all the include files; on Ubuntu there were included in the "libx11-dev" package).

Really, you need the X11 development files to compile, even though ActiveTcl is prebuilt and so doesn't need them. I wasted hours on this playing with various options, because the error messages if the headers aren't there are either missing or misleading.

But I don't know nothing about.
Is just in case it can help you.


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sun Jan 15, 2012 7:43 am 
Global Moderator
Global Moderator
User avatar

Joined: Mon Apr 10, 2006 12:43 pm
Posts: 4727
Location: Ath (Belgium)
I installed by default and just tested to launch godi_console from the terminal.
I launched /opt/godi/sbin/godi_console and I had this :

Code:
+-----------------------------------------------------------------------------+
|                                GODI Console                                 |
+-----------------------------------------------------------------------------+

          >>> Main Menu <<<

          [1]   Update the list of available packages
         
          [2]   Select source packages
         
          [3]   Exit program










-------------------------------------------------------------------------------
[p]rev [n]ext [h]elp


Can you try to launch godi_console from a terminal where he is installed ?

Bip


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Sun Jan 15, 2012 6:28 pm 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
Code:
+-----------------------------------------------------------------------------+
|                                GODI Console                                 |
+-----------------------------------------------------------------------------+

Yep, that's it. Here's the sequence of steps:

    [1] Type 1<RTRN> and wait for the list of packages to be updated.
    [2] When you see "### Update successful", type x for exit.
    [3] Type 2<RTRN>. You should see the list of available packages.
    [4] Type n until you see godi-batteries (#83 on my system).
    [5] Type 83<RTRN> (or whatever the number of godi-batteries is).
    You should see the ">>> Single Package <<<" screen for godi-batteries.
    [6] Type b for build&install.
    [7] Type x to exit the single-package screen.
    [8] Type s to start installation.
    [9] Type s again to *really* start installation.
    [10] Type o for ok to *REALLY* start installation.


 Profile Send private message  
 
 Post subject: Re: Tcl/Tk
PostPosted: Mon Jan 16, 2012 1:42 am 
Regular Zenwalker
Regular Zenwalker

Joined: Thu Jun 22, 2006 9:51 pm
Posts: 68
bipbip I got the library installed, so you can forget about it if you want.
Everything went well after I cleared the package selections and reselected the one I wanted.
Sorry about wasting so much of your time.
You too, franco. Thanks for the help.


 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ]  Go to page 1, 2  Next

All times are UTC


 Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: