Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

etc/ directory missing in unixodbc 2.3.5 #22938

Closed
v-makouz opened this issue Jan 16, 2018 · 3 comments
Closed

etc/ directory missing in unixodbc 2.3.5 #22938

v-makouz opened this issue Jan 16, 2018 · 3 comments

Comments

@v-makouz
Copy link

I noticed that after installing unixodbc 2.3.5 the folder /usr/local/Cellar/unixodbc/2.3.5/etc/ is missing

When I manually extracted the following two packages:
https://homebrew.bintray.com/bottles/unixodbc-2.3.4.el_capitan.bottle.tar.gz
https://homebrew.bintray.com/bottles/unixodbc-2.3.5.el_capitan.bottle.tar.gz

I saw that indeed the 2.3.5 version didn't have the etc/ in it (but does have .brew/ which 2.3.4 doesn't have). I was also trying it on High Sierra VM and encountered the same issue, so it isn't just El Capitan

@ilovezfs
Copy link
Contributor

ilovezfs commented Jan 16, 2018

Should be fixed by #22939 which will also relocate it to /usr/local/etc

@ilovezfs
Copy link
Contributor

@v-makouz also note this is actually a Makefile bug. Makefile.am has

install-data-am:
        -touch $(DESTDIR)${sysconfdir}/odbcinst.ini
        -touch $(DESTDIR)${sysconfdir}/odbc.ini
        -mkdir -p $(DESTDIR)${sysconfdir}/ODBCDataSources
        cp unixodbc_conf.h $(DESTDIR)${includedir}/unixodbc_conf.h

which fails if $(DESTDIR)${sysconfdir} doesn't already exist.

@ilovezfs
Copy link
Contributor

This is now fixed if you brew update and brew upgrade

@Homebrew Homebrew locked and limited conversation to collaborators May 4, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants