Problem with make install FreeTDS

[email protected]
Newsgroups gmane.comp.db.tds.freetds
Message-ID <[email protected]>
Hi:

I have the following problem when trying to make install freetds in HPUX. 
I keep all the installation steps (configure, make and make install) but 
when invoke make install, I receive the following error:

:/usr/local/freetds-0.82 # make install
No suffix list.
Making install in include
No suffix list.
No suffix list.
        test -z "/usr/local/freetds-0.82/include" || /bin/sh 
../mkinstalldirs "/usr/local/freetds-0.82/include"
 /opt/imake/bin/install -c -m 644 'bkpublic.h' 
'/usr/local/freetds-0.82/include/bkpublic.h'
cp: cannot access bkpublic.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/bkpublic.h
 /opt/imake/bin/install -c -m 644 'cspublic.h' 
'/usr/local/freetds-0.82/include/cspublic.h'
cp: cannot access cspublic.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/cspublic.h
 /opt/imake/bin/install -c -m 644 'cstypes.h' 
'/usr/local/freetds-0.82/include/cstypes.h'
cp: cannot access cstypes.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/cstypes.h
 /opt/imake/bin/install -c -m 644 'ctpublic.h' 
'/usr/local/freetds-0.82/include/ctpublic.h'
cp: cannot access ctpublic.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/ctpublic.h
 /opt/imake/bin/install -c -m 644 'sqldb.h' 
'/usr/local/freetds-0.82/include/sqldb.h'
cp: cannot access sqldb.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/sqldb.h
 /opt/imake/bin/install -c -m 644 'sqlfront.h' 
'/usr/local/freetds-0.82/include/sqlfront.h'
cp: cannot access sqlfront.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/sqlfront.h
 /opt/imake/bin/install -c -m 644 'sybdb.h' 
'/usr/local/freetds-0.82/include/sybdb.h'
cp: cannot access sybdb.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/sybdb.h
 /opt/imake/bin/install -c -m 644 'sybfront.h' 
'/usr/local/freetds-0.82/include/sybfront.h'
cp: cannot access sybfront.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/sybfront.h
 /opt/imake/bin/install -c -m 644 'syberror.h' 
'/usr/local/freetds-0.82/include/syberror.h'
cp: cannot access syberror.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/syberror.h
        test -z "/usr/local/freetds-0.82/include" || /bin/sh 
../mkinstalldirs "/usr/local/freetds-0.82/include"
 /opt/imake/bin/install -c -m 644 'tds_sysdep_public.h' 
'/usr/local/freetds-0.82/include/tds_sysdep_public.h'
cp: cannot access tds_sysdep_public.h: No such file or directory
chmod: can't access /usr/local/freetds-0.82/include/tds_sysdep_public.h
Making install in src
No suffix list.
Making install in replacements
        if /bin/sh ../../libtool --tag=CC --mode=compile gcc 
-DHAVE_CONFIG_H  -I. -I. -I../../include  -I../../include 
-D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED 
-D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wno-long-long  -D_REENTRANT -pthread -g -O2 
-Wdeclaration-after-statement -MT iconv.lo -MD -MP -MF ".deps/iconv.Tpo" 
-c -o iconv.lo iconv.c; \
        then mv -f ".deps/iconv.Tpo" ".deps/iconv.Plo"; else rm -f 
".deps/iconv.Tpo"; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../include 
-D_FREETDS_LIBRARY_SOURCE -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED 
-D_REENTRANT -D_THREAD_SAFE -DDEBUG=1 -Wall -Wstrict-prototypes 
-Wmissing-prototypes -Wno-long-long -D_REENTRANT -pthread -g -O2 
-Wdeclaration-after-statement -MT iconv.lo -MD -MP -MF .deps/iconv.Tpo -c 
iconv.c  -fPIC -DPIC -o .libs/iconv.o
In file included from iconv.c:49:
../../include/tds.h:34:31: error: tds_sysdep_public.h: No such file or 
directory
In file included from iconv.c:49:
../../include/tds.h:99: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_SMALLINT'
../../include/tds.h:100: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_USMALLINT'
../../include/tds.h:101: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_INT'
../../include/tds.h:102: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_UINT'
../../include/tds.h:103: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_REAL'
../../include/tds.h:104: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_FLOAT'
../../include/tds.h:105: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_INT8'
../../include/tds.h:106: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_UINT8'
../../include/tds.h:107: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'TDS_INTPTR'
../../include/tds.h:118: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:125: error: expected specifier-qualifier-list before 
'TDS_INT8'
../../include/tds.h:130: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:135: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:141: error: expected specifier-qualifier-list before 
'TDS_USMALLINT'
../../include/tds.h:147: error: expected specifier-qualifier-list before 
'TDS_SMALLINT'
../../include/tds.h:152: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:158: error: expected specifier-qualifier-list before 
'TDS_UINT'
../../include/tds.h:167: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:618: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:831: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:857: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:907: error: expected specifier-qualifier-list before 
'TDS_USMALLINT'
../../include/tds.h:937: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:950: error: expected specifier-qualifier-list before 
'TDS_SMALLINT'
../../include/tds.h:1028: error: expected specifier-qualifier-list before 
'TDS_SMALLINT'
../../include/tds.h:1107: error: expected specifier-qualifier-list before 
'TDS_UINT'
../../include/tds.h:1120: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:1165: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:1209: error: expected specifier-qualifier-list before 
'TDS_INT'
../../include/tds.h:1279: error: expected specifier-qualifier-list before 
'TDS_SYS_SOCKET'
../../include/tds.h:1373: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1374: error: expected declaration specifiers or '...' 
before 'TDS_INT8'
../../include/tds.h:1375: error: expected declaration specifiers or '...' 
before 'TDS_SMALLINT'
../../include/tds.h:1440: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1440: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1473: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1481: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1484: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1500: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1501: error: expected declaration specifiers or '...' 
before 'TDS_INT'
../../include/tds.h:1509: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_datecrack'
../../include/tds.h:1521: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_get_smallint'
../../include/tds.h:1522: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_get_int'
../../include/tds.h:1523: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_get_int8'
../../include/tds.h:1567: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_numeric_to_string'
../../include/tds.h:1568: error: expected '=', ',', ';', 'asm' or 
'__attribute__' before 'tds_numeric_change_prec_scale'
iconv.c: In function 'tds_sys_iconv_open':
iconv.c:119: warning: cast to pointer from integer of different size
iconv.c: In function 'tds_sys_iconv':
iconv.c:169: warning: cast from pointer to integer of different size
iconv.c:191: warning: cast from pointer to integer of different size
iconv.c:206: warning: cast from pointer to integer of different size
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
*** Error exit code 1

I see that when I do "make", /usr/local/freetds-0.82/include exists, but 
when I run "make install" is deleted and can not find it
What do I do wrong?


Thanks in advance
Daymel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.