DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Packages and Ports

OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 8th January 2020
jonsec jonsec is offline
Port Guard
 
Join Date: Jul 2019
Posts: 34
Smile OpenBSD and MongoDB

hi.
why MongoDB is not compatible with OpenBSD ?

last version of MongoDB in OpenBSD is 3.2.22 and this version is not compatible with OpenBSD.

MongoDB Console in OpenBSD OS Say :
Quote:
NOTE: your operating system version does not support the method that MongoDB
can i use MongoDB in OpenBSD as Product(standalone and Replica Set or Shard) ?
how i can build newer version of MongoDB in OpenBSD ?
Reply With Quote
  #2   (View Single Post)  
Old 8th January 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,982
Default

Quote:
Originally Posted by jonsec View Post
hi.
why MongoDB is not compatible with OpenBSD ?
Mongodb is available as a package for OpenBSD/amd64. The databases/mongodb port is marked $ONLY_FOR_ARCHS = amd64.

I cannot replicate your problem with the information provided. I can install the mongodb package, start the mongod daemon, and successfully connect to it with the mongo client without any additional provisioning, with these three commands:
Code:
$ doas pkg_add mongodb
$ doas rcctl -f start mongod
$ mongo
Quote:
how i can build newer version of MongoDB in OpenBSD ?
Update the databases/mongodb port. At this time, there is no $MAINTAINER assigned and I do not see a work-in-progress port at jasperla@'s openbsd-wip Github repository. For guidance on updating the port, see the Porter's Handbook at https://www.openbsd.org/faq/ports/index.html.

Last edited by jggimi; 8th January 2020 at 05:57 PM. Reason: added link to the Porter's Handbook, clarity
Reply With Quote
  #3   (View Single Post)  
Old 11th January 2020
jonsec jonsec is offline
Port Guard
 
Join Date: Jul 2019
Posts: 34
Default

Quote:
Update the databases/mongodb port. At this time, there is no $MAINTAINER assigned and I do not see a work-in-progress port at jasperla@'s openbsd-wip Github repository. For guidance on updating the port, see the Porter's Handbook at https://www.openbsd.org/faq/ports/index.html.
i not have any info about the port. i read manual page but what is difference between port and packages ? in port i can install new version of packages ?

i think is clear in your message then i can not install mongodb 4.x.x on OpenBSD.
Reply With Quote
  #4   (View Single Post)  
Old 11th January 2020
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 6,982
Default

Quote:
Originally Posted by jonsec View Post
what is difference between port and packages ?
Packages are built from ports. From the OpenBSD FAQ:
Quote:
Originally Posted by The OpenBSD FAQ
There are many applications one might want to use on an OpenBSD system. To make this software easier to install and manage, it is ported to OpenBSD and packaged....The OpenBSD ports team considers packages to be the goal of their porting work, not the ports themselves.
Then, from the Introduction to the Porter's Handbook:
Quote:
Originally Posted by The Porter's Handbook
The ports tree is a set of Makefiles, one for each third party application, that controls:
  • Where and how to fetch the source of the software
  • Which other software it depends upon
  • How to alter the sources (if necessary)
  • How to configure and build it
  • How to test it (optional)
  • How to install it
You asked:
Quote:
in port i can install new version of packages ?
If you have sufficient technical skills, you may be able to update the port. You may also need to update dependencies at the same time.
Reply With Quote
Reply

Tags
mongodb, nosql

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why MongoDB? It's the developers, stupid J65nko News 3 12th June 2012 07:58 PM
MongoDB 1.8 released J65nko News 0 17th March 2011 07:11 PM


All times are GMT. The time now is 11:06 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick