trouble getting sqlcmd to compile correctly-well put the files in right spot
Posted in 2009
Topics: Migration, Import/Export & Data Conversion, Versions, Editions & End-of-Life
HPUX 11.23 (Itanium) IDS 10.00.FC9 We are migrating from a PA-RISK HPUX server to a Itanium HPUX server and I'm havign a bit of trouble getting the sqlcmd that Jonathan Leffler has put on the iiug software respository. What I have done: - downloaded sqlcmd-86.00.tgz from iiug to my server then ungzip & untar it. - ./configure CC="/opt/aCC/bin/aCC -AC99" {had to do some digging on this and found a post in June for the CC info} - /opt/gnu/bin/make Get a nice long compile output and then get list of commands {can provide if anyone needs to see it} … ls -il appblob histdump histtest insblob mkproc selmultiblob newserver selblob sqlclean sqlclient sqlcmd sqlread sqlreload sqlserver sqlunload sqlupload updblob 2>/dev/null 953 -rwxrwx--- 1 root common 110812 Jul 14 11:53 appblob 955 -rwxrwx--- 1 root common 105592 Jul 14 11:53 histdump 957 -rwxrwx--- 1 root common 314816 Jul 14 11:53 histtest 960 -rwxrwx--- 1 root common 111572 Jul 14 11:53 insblob 962 -rwxrwx--- 1 root common 85532 Jul 14 11:53 mkproc 966 -r-xr-x--x 1 root common 204 Jul 14 11:53 newserver 959 -rwxrwx--- 1 root common 108168 Jul 14 11:53 selblob 964 -rwxrwx--- 1 root common 192608 Jul 14 11:53 selmultiblob 967 -r-xr-x--x 1 root common 2547 Jul 14 11:53 sqlclean 968 -r-xr-x--x 1 root common 702 Jul 14 11:53 sqlclient 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 sqlcmd 982 -rwxrwx--- 1 root common 665388 Jul 14 11:54 sqlread 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 sqlreload 984 -r-xr-x--x 1 root common 664 Jul 14 11:54 sqlserver 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 sqlunload 988 -rwxrwx--- 1 root common 538264 Jul 14 11:54 sqlupload 990 -rwxrwx--- 1 root common 109812 Jul 14 11:54 updblob However they are where not created in /opt/Informix/ directories but the local directory I’m in (/tmp/depot/sqlcmd-86.00). cars# ll /opt/informix/bin/sqlcmd /opt/informix/bin/sqlcmd not found cars# ll sqlcmd -rwxrwx--- 3 root common 760068 Jul 14 11:54 sqlcmd cars# pwd /tmp/depot/sqlcmd-86.00 I look at the Makefile and is says prefix = /opt/informix exec_prefix = ${prefix} BINDIR = ${exec_prefix}/bin ETCDIR = ${prefix}/etc SHAREDIR = ${prefix}/share MAN0DIR = ${SHAREDIR}/man MAN1DIR = ${MAN0DIR}/man1 Which looks correct to me and should put files in /opt/informix/ xxxxx. So what am I doing wrong. Ran the make as root the first time then tried Informix, and still get the same results. John
Did you 'make install' ? On Tuesday 14 July 2009 18:37:53 jda wrote: > HPUX 11.23 (Itanium) > IDS 10.00.FC9 > > We are migrating from a PA-RISK HPUX server to a Itanium HPUX server > and I'm havign a bit of trouble getting the sqlcmd that Jonathan > Leffler has put on the iiug software respository. > > What I have done: > > - downloaded sqlcmd-86.00.tgz from iiug to my server then ungzip & > untar it. > - ./configure CC="/opt/aCC/bin/aCC -AC99" {had to do some > digging on this and found a post in June for the CC info} > - /opt/gnu/bin/make > > Get a nice long compile output and then get list of commands {can > provide if anyone needs to see it} > … > ls -il appblob histdump histtest insblob mkproc selmultiblob newserver > selblob sqlclean sqlclient sqlcmd sqlread sqlreload sqlserver > sqlunload sqlupload updblob 2>/dev/null > 953 -rwxrwx--- 1 root common 110812 Jul 14 11:53 > appblob > 955 -rwxrwx--- 1 root common 105592 Jul 14 11:53 > histdump > 957 -rwxrwx--- 1 root common 314816 Jul 14 11:53 > histtest > 960 -rwxrwx--- 1 root common 111572 Jul 14 11:53 > insblob > 962 -rwxrwx--- 1 root common 85532 Jul 14 11:53 > mkproc > 966 -r-xr-x--x 1 root common 204 Jul 14 11:53 > newserver > 959 -rwxrwx--- 1 root common 108168 Jul 14 11:53 > selblob > 964 -rwxrwx--- 1 root common 192608 Jul 14 11:53 > selmultiblob > 967 -r-xr-x--x 1 root common 2547 Jul 14 11:53 > sqlclean > 968 -r-xr-x--x 1 root common 702 Jul 14 11:53 > sqlclient > 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 > sqlcmd > 982 -rwxrwx--- 1 root common 665388 Jul 14 11:54 > sqlread > 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 > sqlreload > 984 -r-xr-x--x 1 root common 664 Jul 14 11:54 > sqlserver > 975 -rwxrwx--- 3 root common 760068 Jul 14 11:54 > sqlunload > 988 -rwxrwx--- 1 root common 538264 Jul 14 11:54 > sqlupload > 990 -rwxrwx--- 1 root common 109812 Jul 14 11:54 > updblob > > However they are where not created in /opt/Informix/ directories but > the local directory I’m in (/tmp/depot/sqlcmd-86.00). > > cars# ll /opt/informix/bin/sqlcmd > /opt/informix/bin/sqlcmd not found > cars# ll sqlcmd > -rwxrwx--- 3 root common 760068 Jul 14 11:54 sqlcmd > cars# pwd > /tmp/depot/sqlcmd-86.00 > > I look at the Makefile and is says > prefix = /opt/informix > exec_prefix = ${prefix} > BINDIR = ${exec_prefix}/bin > ETCDIR = ${prefix}/etc > SHAREDIR = ${prefix}/share > MAN0DIR = ${SHAREDIR}/man > MAN1DIR = ${MAN0DIR}/man1 > > Which looks correct to me and should put files in /opt/informix/ > xxxxx. So what am I doing wrong. Ran the make as root the first time > then tried Informix, and still get the same results. > > John > _______________________________________________ > Informix-list mailing list > Informix-list@iiug.org > http://www.iiug.org/mailman/listinfo/informix-list -- Mike Aubury http://www.aubit.com/ Aubit Computing Ltd is registered in England and Wales, Number: 3112827 Registered Address : Clayton House,59 Piccadilly,Manchester,M1 2AQ