Jump to content

Failing to compile expect module


Recommended Posts

I am in the middle of building a Solaris/AMP stack and am trying to install the expect PECL module from source.  Since our security group has dictated none of our internal servers cannot access external resources, I am just downloading source code as I need it.  I am stuck trying to get the expect module to compile:

 

In file included from /nfs/tmp/pidsy13/expect-0.3.0/expect.c:21:

/nfs/tmp/pidsy13/expect-0.3.0/php_expect.h:34:24: expect_tcl.h: No such file or directory

/nfs/tmp/pidsy13/expect-0.3.0/php_expect.h:35:20: expect.h: No such file or directory

<snip>

 

I am under the suspicion this is caused by a missing or mis-configured flag pointing to the wrong include directory considering I found the file needed:

 

[Thu Oct 20 17:23:17 root@pidsy13:/export/appl/pkgs/expect/latest/include]$ ls

expect_comm.h  expect_tcl.h    expect.h        tcldbg.h

 

Could someone be kind enough to clue me in as to what flag(s) need to be set?  Thanks...

Link to comment
https://forums.phpfreaks.com/topic/249489-failing-to-compile-expect-module/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.