Skip Menu |

This queue is for tickets about the sybperl CPAN distribution.

Report information
The Basics
Id: 6237
Status: resolved
Priority: 0/
Queue: sybperl

People
Owner: Nobody in particular
Requestors: suckfish [...] ihug.co.nz
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 2.16
Fixed in: (no value)



Subject: Sybase home not found
I had the following set-up: Home directory for sybase user /opt/sybase Sybase installation in /opt/sybase-11.9.2 environment variable SYBASE=/opt/sybase-11.9.2 In sybperl CONFIG file, SYBASE=/opt/sybase-11.9.2 make test failed. Using strace, it was looking for the interfaces file /opt/sybase/interfaces. test.trace.8000:open("/opt/sybase/interfaces", O_RDONLY) = -1 ENOENT (No such file or directory) Editing /etc/passwd & changing the sybase users home to /opt/sybsae-11.9.2 worked around the problem. I think the best way to find the SYBASE directory would be: Take SYBASE from CONFIG if present, but default to not present. If not present in CONFIG, use the environment variable. Use the home directory of the sybase user only as a last resort. I have multiple sybase installs on this machine; taking the Sybase directory from /etc/passwd will always break me. Cheers.
[guest - Wed May 5 19:42:27 2004]: Ummm... problem between chair and keyboard. I had set the SYBASE shell variable but had omitted to export it. Getting that right fixed the problem. Sorry for the inconvenience.