[CDRIVER-1080] Enable to build C driver Created: 01/Feb/16  Updated: 11/Sep/19  Resolved: 14/Apr/16

Status: Closed
Project: C Driver
Component/s: Build
Affects Version/s: 1.3.0
Fix Version/s: 1.4.0

Type: Task Priority: Minor - P4
Reporter: Fink Jerome Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Debian based linux



 Description   

Hello,
I've an issue with the build of the driver. When I execute the autogen.sh I've the following warning :

=== configuring in src/libbson (/home/testDriver/mongo-c-driver-master/src/libbson)
configure: WARNING: no configuration information is in src/libbson

However the autogen finish its work with thi result :

libmongoc 1.3.2-dev was configured with the following options:

Build configuration:
Enable debugging (slow) : no
Compile with debug symbols (slow) : no
Enable GCC build optimization : yes
Enable automatic binary hardening : yes
Code coverage support : no
Cross Compiling : no
Fast counters : no
Shared memory performance counters : yes
SASL : no
SSL : yes
Libbson : bundled

Documentation:
man : no
HTML : no

But when I try to run the following command : make && make install
I have this error :

Making all in src/libbson
make[1]: Entering directory `/home/testDriver/mongo-c-driver-master/src/libbson'
make[1]: *** No rule to make target `all'. Stop.
make[1]: Leaving directory `/home/testDriver/mongo-c-driver-master/src/libbson'
make: *** [all-recursive] Error 1

Seems that something is missing in the libbson library but I can't figure out what it is and the build instruction indicate that libbson would be automaticly install during the build.

Thanks for the help



 Comments   
Comment by Githook User [ 14/Apr/16 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1080: Warn when downloading non-releases from Github
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/eb347094416b033d8e651371ff2aaa4dd281d2bc

Comment by Hannes Magnusson [ 13/Apr/16 ]

https://mongodbcr.appspot.com/66090002/

Comment by Hannes Magnusson [ 13/Apr/16 ]

I can reproduce this when clicking "Download ZIP" on github, rather then downloading the release archive.

We can detect this in autogeh.sh and fail with a better error ..

Comment by A. Jesse Jiryu Davis [ 01/Feb/16 ]

Hi, did you download the distribution tarball?:

https://github.com/mongodb/mongo-c-driver/releases/download/1.3.1/mongo-c-driver-1.3.1.tar.gz

I generate the distribution from the source tree - the distribution scripts ensure that the tarball contains a checkout of libbson and a "configure" script in src/libbson.

Generated at Wed Feb 07 21:11:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.