[unixODBC-support] unixodbc make install

Martin J. Evans martin.evans at easysoft.com
Wed Jul 27 14:03:49 BST 2005


Did you by any chance set --prefix to
/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11
when you configured unixODBC.

i.e. you are supposed to set --prefix to where you want unixODBC installed not
where you've untarred unixODBC to build it.

Martin
--
Martin J. Evans
Easysoft Ltd, UK
Development


On 27-Jul-2005 Anurag Chakravarti wrote:
> Hi,
> 
> While doing "make install" for unixodbc-2-2.11 on red hat linux
> enterprise I get the following errors
> 
> /bin/sh ../mkinstalldirs
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude
>  /usr/bin/install -c -m 644 odbcinst.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/odbcinst.h
> /usr/bin/install: `odbcinst.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/odbcinst.h' are the same file
>  /usr/bin/install -c -m 644 odbcinstext.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/odbcinstext.h
> /usr/bin/install: `odbcinstext.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/odbcinstext.h' are the same file
>  /usr/bin/install -c -m 644 sql.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/sql.h
> /usr/bin/install: `sql.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/sql.h' are the same file
>  /usr/bin/install -c -m 644 sqlext.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/sqlext.h
> /usr/bin/install: `sqlext.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/sqlext.h' are the same file
>  /usr/bin/install -c -m 644 sqltypes.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/sqltypes.h
> /usr/bin/install: `sqltypes.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/sqltypes.h' are the same file
>  /usr/bin/install -c -m 644 sqlucode.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/sqlucode.h
> /usr/bin/install: `sqlucode.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/sqlucode.h' are the same file
>  /usr/bin/install -c -m 644 uodbc_stats.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/uodbc_stats.h
> /usr/bin/install: `uodbc_stats.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/uodbc_stats.h' are the same file
>  /usr/bin/install -c -m 644 autotest.h
> /common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/incl
> ude/autotest.h
> /usr/bin/install: `autotest.h' and
> `/common/scratch/achakravarti/unixOBDC/unixODBC-2.2.11_asd/unixODBC-2.2.11/inc
> lude/autotest.h' are the same file
> make[2]: *** [install-includeHEADERS] Error 1
> 
> 
> Could someone point out the reason for this?
> 
> Thanks 
> -- 
> Anurag Chakravarti <anurag_chakravarti at persistent.co.in>
> Persistent Systems Pvt. Ltd.
> 
> _______________________________________________
> unixODBC-support mailing list
> unixODBC-support at easysoft.com
> http://mail.easysoft.com/mailman/listinfo/unixodbc-support



More information about the unixODBC-support mailing list