libexpect tcl configuration problems....

Bug #16754 reported by Jeremy Gillespie
4
Affects Status Importance Assigned to Milestone
expect (Ubuntu)
Invalid
Medium
Matthias Klose

Bug Description

Ok so not sure if this is a bug or just me not really understanding what is going on here but
I have searched the web and have asked this question several places so far with no result at
all !

So I recently moved to ubuntu from fedora and wanted to get the Gnome VPN dialer (http://gvpn-
dialer.sourceforge.net/) working on my desktop, so I downloaded and extracted the file and
ran configure.

At first I got an error saying "Cannot find expect.h. Please install expect"

So I ran apt-get install expect-dev to install expect and all its development files.

Now when that was complete I re-ran configure and got exactly the same error so I tried
telling configure where expect was by ./configure --includedir=/usr/include/tcl8.4/expect.h
But same error cannot find expect.h !! So now I was stumpted and decided to try and get the
source for libexpect and try compiling that so see what happened...

Now when running configure in the expect 5.43 source directory I see the following
error "checking for Tcl configuration... configure: warning: Can't find Tcl configuration
definitions" then configure craps out with an error...
So I tried passing in the parameters to tell configure where this file is by configure --with-
tk=/usr/lib/tk8.4/ --with-tcl=/usr/lib/tcl8.4/ only now I get the error "Can't find Tcl
private headers"

What gives, I am at a loss and never encountered these problems with Fedora... I also think
I have all the required files for this but if not please advise !

Thank you

Jeremy.

Revision history for this message
Matthias Klose (doko) wrote :

(In reply to comment #0)
> Ok so not sure if this is a bug or just me not really understanding what is
going on here but
> I have searched the web and have asked this question several places so far
with no result at
> all !

no, that's not a bug.

> Now when that was complete I re-ran configure and got exactly the same error
so I tried
> telling configure where expect was by ./configure
--includedir=/usr/include/tcl8.4/expect.h
> But same error cannot find expect.h !! So now I was stumpted and decided to
try and get the
> source for libexpect and try compiling that so see what happened...

note, the option is --includedir, but you're specifying a file.

> What gives, I am at a loss and never encountered these problems with Fedora...
 I also think
> I have all the required files for this but if not please advise !

 - apt-get source expect
 - then look in debian/rules how expect is configured for Debian.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.