Bug 180321 - Missing files in unixODBC-devel
Summary: Missing files in unixODBC-devel
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: unixODBC
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Tom Lane
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-02-07 09:42 UTC by Devrim Gündüz
Modified: 2013-07-03 03:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-02-10 01:08:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Devrim Gündüz 2006-02-07 09:42:17 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.12) Gecko/20050921 Red Hat/1.0.7-1.4.1 Firefox/1.0.7

Description of problem:
ini.h and log.h, included in /usr/include/odbcinstext.h is not included in the package. Also, lst.h, included from log.h is missing. This causes build errors that uses this package during compilation. We had this problem in ODBCng, of PostgreSQL: http://projects.commandprompt.com/projects/public/odbcng

Version-Release number of selected component (if applicable):
unixODBC-devel does not install some files

How reproducible:
Always

Steps to Reproduce:
1. Download the SVN version of ODBCng: http://projects.commandprompt.com/projects/public/odbcng
2. run prepare.sh, ./configure and make


Actual Results:  Built failed, prompting with an error, telling that the files written above are missing.

Additional info:

I fetched the SRPM and copied the relevant files into /usr/include. Then the builtd completed fine.

Comment 1 Tom Lane 2006-02-07 15:48:58 UTC
AFAICS this would only be an issue if you'd #defined UNIXODBC_SOURCE, which you
presumably shouldn't be doing in a client application.  So why is this a bug?

Comment 2 Devrim Gündüz 2006-02-08 00:20:42 UTC
Ok but how can you explain the missing header files, which are included in
odbcinstext.h?

Comment 3 Tom Lane 2006-02-08 06:44:47 UTC
The upstream package's "make install" action doesn't install them, therefore the Red Hat RPM doesn't 
either.

If you don't like this I think you ought to take it up with the unixODBC developers, not me ...

Comment 4 Devrim Gündüz 2006-02-10 00:17:05 UTC
Thanks. I'll contact with those guys.

Comment 5 Tom Lane 2006-02-10 01:08:51 UTC
OK, closing as UPSTREAM issue.


Note You need to log in before you can comment on or make changes to this bug.