I get the "No such file or directory" right after the "license box" shows up
in the PHP4 compile. Like this (no matter what directory I've tried in that
big old list so far):
./WTConfigure: --with-openlink=/usr/local/openlink/lib: No such file or
directory
"./WTConfigure" is just a shell script with make clean, all my --options,
make, make install, since I have to compile in mysql, and some other stuff.
> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Friday, March 30, 2001 4:00 PM
> To: Daevid Vincent; [EMAIL PROTECTED]; PHP General
> Subject: Re: [PHP-DB] RE: [PHP] RE: what exactly are /path/to/blah
> lookingfor? .h? .so? .a? what?!
>
>
> Daevid,
>
> just --with-iodbc or --with-openlink is fine.
>
> you should be using either:
>
> --with-iodbc=/usr/local/openlink/odbcsdk \
> or
> --with-openlink=/usr/local/openlink/lib \
>
> depending on which you use and where you installed the sdk.
> what error are you getting?
>
> Best regards,
> Andrew
>
>
> On 3/30/01 6:54 PM, "Daevid Vincent" <[EMAIL PROTECTED]> wrote:
>
> > thanks for replying Andrew, but that's not working for me either.
> >
> > Also, do I need both "--with-iodbc" and "--with-openlink" or do
> I just need
> > one of them?
> >
> > These are the instructions I've been following:
> > http://www.iodbc.org/odbc-phpHOWTO.html
> >
> > so now I've tried:
> >
> > #--with-iodbc=/usr/local/openlink/odbcsdk/lib \
> > #--with-iodbc=/usr/local/openlink/odbcsdk \
> > #--with-iodbc=/usr/local/openlink/lib \
> > #--with-iodbc=/usr/local/bin \
> > #--with-iodbc=/usr/local \
> > #--with-iodbc=/usr/local/include \
> > #--with-iodbc=../libiodbc \
> > #--with-openlink=/usr/local/openlink/odbcsdk/lib \
> > #--with-openlink=/usr/local/openlink/odbcsdk \
> > #--with-openlink=/usr/local/openlink \
> > #--with-openlink=/usr/local/openlink/lib \
> >
> > here is my dir structure:
> > the files are there, why won't PHP see them? In fact I have the
> > "libiodbc.so" library in TWO places I see: "openlink/lib/" and
> > "openlink/odbcsdk/lib/"
> >
> > [root=pts/1]3:45pm@content:{/usr/local/openlink}> ll -r
> > /usr/local/openlink/*
> > -rw-rw-rw- 1 nobody html 0 Mar 29 20:20
> > /usr/local/openlink/oplrqb.ini
> > -rwxr-xr-x 1 nobody html 707 Mar 30 15:16
> > /usr/local/openlink/openlink.sh*
> > -rwxr-xr-x 1 nobody html 619 Mar 30 15:16
> > /usr/local/openlink/openlink.csh*
> > -rw-rw-rw- 1 nobody html 180 Mar 29 20:21
> > /usr/local/openlink/odbcinst.ini
> > -rw-rw-rw- 1 nobody html 541 Mar 30 13:51
> > /usr/local/openlink/odbc.ini
> > -rw-rw-rw- 1 nobody html 196347 Mar 29 17:54
> > /usr/local/openlink/l2oczzzz.taz
> > -rw-rw-rw- 1 nobody html 364085 Mar 30 15:16
> > /usr/local/openlink/l2kuzzzz.taz
> > -rw-rw-rw- 1 nobody html 512218 Mar 30 15:16
> > /usr/local/openlink/l2kozzzz.taz
> > -rwxrwxrwx 1 nobody html 16137 Mar 30 15:16
> > /usr/local/openlink/install.sh*
> >
> > /usr/local/openlink/udbcsdk:
> > total 16
> > drwxr-xr-x 2 nobody html 4096 Mar 7 14:44 lib/
> > drwxr-xr-x 3 nobody html 4096 Mar 7 14:44 include/
> > drwxr-xr-x 2 nobody html 4096 Mar 7 14:44 examples/
> > drwxr-xr-x 2 nobody html 4096 Mar 7 14:44 doc/
> >
> > /usr/local/openlink/lib:
> > total 400
> > -rw-r--r-- 1 nobody html 272057 Mar 7 14:43 oplodbc.so.1.0.0
> > lrwxrwxrwx 1 nobody html 16 Mar 30 15:16 oplodbc.so.1 ->
> > oplodbc.so.1.0.0
> > lrwxrwxrwx 1 nobody html 16 Mar 30 15:16 oplodbc.so ->
> > oplodbc.so.1.0.0
> > -rw-r--r-- 1 nobody html 678 Mar 7 14:43 oplodbc.la
> > lrwxrwxrwx 1 nobody html 17 Mar 30 15:16 libodbc.so ->
> > libiodbc.so.2.1.2*
> > -rwxr-xr-x 1 nobody html 117877 Mar 7 14:43
> libiodbc.so.2.1.2*
> > lrwxrwxrwx 1 nobody html 17 Mar 30 15:16 libiodbc.so.2 ->
> > libiodbc.so.2.1.2*
> > lrwxrwxrwx 1 nobody html 17 Mar 30 15:16 libiodbc.so ->
> > libiodbc.so.2.1.2*
> > -rwxr-xr-x 1 nobody html 669 Mar 7 14:43 libiodbc.la*
> >
> > /usr/local/openlink/bin:
> > total 140
> > -rw------- 1 nobody html 29 Mar 30 15:16 oplrqb.ini
> > -rwxr-xr-x 1 nobody html 92225 Mar 7 14:43 odbctest*
> > -rw-r--r-- 1 nobody html 170 Mar 7 14:43
> odbcinst.ini.sample
> > -rw-r--r-- 1 nobody html 170 Mar 7 14:43 odbcinst.ini
> > -rw-r--r-- 1 nobody html 473 Mar 7 14:43 odbc.ini.sample
> > -rw-r--r-- 1 nobody html 473 Mar 7 14:43 odbc.ini
> > -rwxr--r-- 1 nobody html 23260 Mar 7 14:43 inifile*
> >
> > /usr/local/openlink/odbcsdk:
> > total 20
> > drwxr-xr-x 2 nobody html 4096 Mar 30 15:16 lib/
> > drwxr-xr-x 2 nobody html 4096 Mar 30 15:16 include/
> > drwxr-xr-x 2 nobody html 4096 Mar 30 15:16 examples/
> > drwxr-xr-x 2 nobody html 4096 Mar 30 15:16 driver/
> > drwxr-xr-x 2 nobody html 4096 Mar 30 15:16 doc/
> >
> > and then here is the odbcsdk directory tree:
> >
> > [root=pts/1]3:51pm@content:{/usr/local/openlink}> ll -r odbcsdk/*
> > odbcsdk/lib:
> > total 976
> > -rw-r--r-- 1 nobody html 272057 Mar 7 14:42 oplodbc.so.1.0.0
> > lrwxrwxrwx 1 nobody html 16 Mar 30 15:16 oplodbc.so.1 ->
> > oplodbc.so.1.0.0
> > lrwxrwxrwx 1 nobody html 16 Mar 30 15:16 oplodbc.so ->
> > oplodbc.so.1.0.0
> > -rw-r--r-- 1 nobody html 678 Mar 7 14:42 oplodbc.la
> > -rw-r--r-- 1 nobody html 431992 Mar 7 14:42 oplodbc.a
> > -rwxr-xr-x 1 nobody html 117877 Mar 7 14:42
> libiodbc.so.2.1.2*
> > lrwxrwxrwx 1 nobody html 17 Mar 30 15:16 libiodbc.so.2 ->
> > libiodbc.so.2.1.2*
> > lrwxrwxrwx 1 nobody html 17 Mar 30 15:16 libiodbc.so ->
> > libiodbc.so.2.1.2*
> > -rwxr-xr-x 1 nobody html 669 Mar 7 14:42 libiodbc.la*
> > -rw-r--r-- 1 nobody html 143692 Mar 7 14:42 libiodbc.a
> >
> > odbcsdk/include:
> > total 136
> > -rw-r--r-- 1 nobody html 11973 Mar 7 14:42 udbcext.h
> > -rw-r--r-- 1 nobody html 6362 Mar 7 14:42 sqltypes.h
> > -rw-r--r-- 1 nobody html 67955 Mar 7 14:42 sqlext.h
> > -rw-r--r-- 1 nobody html 28728 Mar 7 14:42 sql.h
> > -rw-r--r-- 1 nobody html 1161 Mar 7 14:42 isqltypes.h
> > -rw-r--r-- 1 nobody html 1158 Mar 7 14:42 isqlext.h
> > -rw-r--r-- 1 nobody html 1140 Mar 7 14:42 isql.h
> >
> > odbcsdk/examples:
> > total 112
> > -rw-r--r-- 1 nobody html 10321 Mar 7 14:42 odbctest.c
> > -rwxr-xr-x 1 nobody html 92225 Mar 7 14:42 odbctest*
> > -rw-r--r-- 1 nobody html 3460 Mar 7 14:42 Makefile
> >
> > odbcsdk/driver:
> > total 124
> > -rw-r--r-- 1 nobody html 119187 Mar 7 14:42 odbc_src.taz
> >
> > odbcsdk/doc:
> > total 16
> > -rw-r--r-- 1 nobody html 773 Mar 7 14:42 odbcinst.ini
> > -rw-r--r-- 1 nobody html 1010 Mar 7 14:42 odbc.ini
> > -rw-r--r-- 1 nobody html 5127 Mar 7 14:42 odbc.doc
> >
> >
> >> -----Original Message-----
> >> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> >> Sent: Friday, March 30, 2001 2:57 PM
> >> To: Daevid Vincent; [EMAIL PROTECTED]; PHP General
> >> Subject: [PHP] RE: what exactly are /path/to/blah looking for? .h? .so?
> >> .a? what?!
> >>
> >>
> >> Daevid,
> >>
> >> It's the path/to/odbcsdk
> >> It's looking for libiodbc.so
> >>
> >> :)
> >>
> >> Best regards,
> >> Andrew
> >
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]