Git Product home page Git Product logo

Comments (4)

natevw avatar natevw commented on July 26, 2024

Here's my second try, a clean build but checked out into a folder with an apostrophe in it so this failure might be due only to that: https://gist.github.com/natevw/6b68c0daa85e6915474a

Previous build I'm pretty sure was NOT under an "unexpected" path, in the middle of trying yet again and will report back.

from build-couchdb.

natevw avatar natevw commented on July 26, 2024

Nope, build-couchdb is a no-go on Mavericks for me: https://gist.github.com/natevw/27ebaa8400218957220d


=== Leaving application public_key
=== Skipping subdir ssl, reason:
No usable OpenSSL found
===
=== Skipping subdir toolbar, reason:
Not needed by CouchDB
===
=== Skipping subdir tv, reason:
Not needed by CouchDB
===
=== Skipping subdir observer, reason:
Not needed by CouchDB
===
=== Entering application odbc
erlc -W  +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.10.16"'  +'{parse_transform,sys_pre_attributes}' +'{attribute,insert,app_vsn,"odbc-2.10.16"}' -o../ebin odbc.erl
erlc -W  +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.10.16"'  +'{parse_transform,sys_pre_attributes}' +'{attribute,insert,app_vsn,"odbc-2.10.16"}' -o../ebin odbc_app.erl
erlc -W  +debug_info -I../include -D'SERVER_SOFTWARE="odbc/2.10.16"'  +'{parse_transform,sys_pre_attributes}' +'{attribute,insert,app_vsn,"odbc-2.10.16"}' -o../ebin odbc_sup.erl
sed -e 's;%VSN%;2.10.16;' odbc.app.src > ../ebin/odbc.app
sed -e 's;%VSN%;2.10.16;' odbc.appup.src > ../ebin/odbc.appup
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f x86_64-apple-darwin13.0.0/Makefile TYPE=opt
gcc  -Werror=return-type -g -O2 -fno-strict-aliasing  -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FCNTL_H=1 -DHAVE_NETDB_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_STRUCT_SOCKADDR_IN6_SIN6_ADDR=1 -DHAVE_MEMSET=1 -DHAVE_SOCKET=1 -DHAVE_PTHREAD_H=1  -I. -I/usr/lib/include -I/Users/natevw/build-couchdb/dependencies/otp/lib/erl_interface/include -DUNIX -o ../priv/obj/x86_64-apple-darwin13.0.0/odbcserver.o -c odbcserver.c
odbcserver.c:118:10: fatal error: 'sql.h' file not found
#include "sql.h"
         ^
1 error generated.
make[4]: *** [../priv/obj/x86_64-apple-darwin13.0.0/odbcserver.o] Error 1
make[3]: *** [opt] Error 2
make[2]: *** [opt] Error 2
make[1]: *** [opt] Error 2
make: *** [libs] Error 2
git reset --hard && git clean -fd

So it appears CouchDB's Erlang needs ODBC to build, but it has [wait for it…] No SQL !!1lol!!

from build-couchdb.

yvondamours avatar yvondamours commented on July 26, 2024

We came across this exact same issue when trying to install Erlang itself on Mavericks. After digging around, we found this thread, where people were having the same issue trying to install PHP. The fix they found was to brew install unixodbc, then, in our case brew install erlang --with-unixodbc. Hope this helps!

from build-couchdb.

jhs avatar jhs commented on July 26, 2024

Yes you are right. In fact, the odbc application should not even build at all! https://github.com/iriscouch/build-couchdb/blob/master/tasks/erlang.rake#L15

The odbc application's configure script removes its SKIP file. The new master puts it back, thereby disabling the odbc build. That seems to fix it, although I am not sure if I am playing with fire.

from build-couchdb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.