-
Notifications
You must be signed in to change notification settings - Fork 41
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
MongoDB source tree / compiling problems #11
Comments
I changed the path to "mongo/util/net" inside operations.cpp and main.cpp, but now it is showing the error: g++ -o mount_gridfs main.o operations.o options.o local_gridfile.o -L/usr/local/lib -L. -lmongoclient -lfuse -lboost_thread-mt -lboost_filesystem-mt -lboost_system-mt -ldl I did try "make debian" too, but it throws the same error. Then I noticed this: #aptitude install mongodb-dev Is that package in a repository somewhere? |
Sorry for taking so long, I'm bad at checking github. It's in debian's "unstable" ... you'll have to configure apt-get appropriately. |
Better late than never! Thank you very much! :) |
[10gen] Based on the above infomation, you can add the repo to /etc/yum.repos.d/mongo.repo. Then you can use the command "yum install mongo*", and then you can pass the problem, but I met another question: Hope it can help you! |
zzlyzq: do you know the repository address for an Ubuntu install? |
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-debian-or-ubuntu-linux/ Pulstar: Good Luck. At 2012-07-18 12:54:50,pulstar [email protected] wrote:
|
I am trying to compile the wwoods fork of gridfs-fuse in an Ubuntu server with the lastest stable version of MongoDB, but I am getting the following error:
operations.cpp:30:36: error: mongo/util/hostandport.h: No such file or directory
I noticed that that file is in the "mongo/util/net" directory instead of "mongo/util".
Maybe something need to be updated in order to work with this version of MongoDB?
The text was updated successfully, but these errors were encountered: