![]() |
|
|||||||
| OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
There are times when a certain package is available and it must be compiled from source..
I have been doing this a lot on Solaris 10 lately but that is another topic. ![]() [OT] I have a HOWTO or guide to installing Nagios w/ rrdtool , pnp4nagios on Solaris 10 that I am working on and will post later.. [/OT] What is the recommended environment for compiling.. or are most of the requirements met with the default install.. much thx rk
__________________
All posts sent on ReCycled Electrons... |
|
|||
|
Unfortunately, the answer isn't as simple as that.... there are many variables.
First of all, did you install the comp43.tgz set, that includes the system binutils/gcc/headers/libraries etc. Again, It's like walking into a large multicultural restaurant and asking *everybody* what you should order... |
|
|||
|
Quote:
Good point.. ( I do get vague sometimes.. )I should have specified the "C" environment.. I was basing my question off of my experience with Solaris 10. My standard install for compiling is: Quote:
I just got in my new drives and am in the process of replacing my Linux email serve with OpenBSD and it looks like the Webmail package I want /need isn't available as a port or package.. I honestly had a good reason for asking this but .. oh crap.. getting old.. will remember later..
__________________
All posts sent on ReCycled Electrons... |
|
||||
|
What you need depends on what you are building -> which should be outlined in the programs installation documentation if it is worth the bits it is stored in.
At the most basic level for C/C++ programs you need a suitable build environment. Usually a compiler, assembler, linker, make, and POSIX shell or DOS batch scripting environment.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
|
Quote:
Quote:
http://openbsd.org/faq/faq15.html#NoFun Lastly, there is rarely a need to locally build a port. OpenBSD users who are entertaining the thought of building their own ports should really, really be honest with themselves & take to heart the admonitions stated at the beginning of Section 15.1: http://openbsd.org/faq/faq15.html#Intro Last edited by ocicat; 19th July 2008 at 07:50 PM. |
|
|||
|
Thx for all the responses.. WOW.. !
Ok.. my thoughts came back.. My question originated in a package that wasn't available in the OpenBSD ports tree or via package.. In the Solaris environment most of my dependencies I get from SunFreeware then set up my compile environment and compile via make (as the installed make doesn't usually meet the requirements for newer packages.. ) ocicat .. much thanks the elaboration..
__________________
All posts sent on ReCycled Electrons... |
|
|||
|
Quote:
http://openbsd.org/faq/faq9.html#Interact ...as well as the various compatibility manpages: compat_linux(8), compat_freebsd(8), compat_sunos(8), etc. There are other compat_* manpages you may need to read. Note that some of these compatibility layers may be limited and/or dated. As jggimi has noted elsewhere, maintenance of some of these emulation layers isn't quite as crucial today given that more natively compiled applications are increasingly available in the ports tree. Lastly, porting can range for trivial to very complex. The better you understand the space where your target application lives, the easier your plight will be in porting it. Last edited by ocicat; 19th July 2008 at 11:25 PM. |
|
|||
|
Quote:
http://openports.se/ ...is good for searching for similiar functionality. |
|
|||
|
Quote:
I am looking to add PNP4Nagios to my -current box.. It is running on 2 Solaris boxes (SPARC and x86) so I figured the next step would be to put it on my OpenBSD box.. I do realize that the BSD environment is much different than Solaris which started all of this.. and I should have stated pnp4nagios was what I was intending to compile and add to the existing Nagios installation... Will be more specific in the future.. Oh, my OpenBSD system is only 32 bit. PNP4Nagios uses rrdtool which is in port /packages. thx again... rk
__________________
All posts sent on ReCycled Electrons... Last edited by roundkat; 19th July 2008 at 06:57 PM. |
|
||||
|
When it comes to 3rd party applications that are not in the ports tree ...
There is a difference between "porting" them to OpenBSD and building an "OpenBSD port". The former means to install the application on an OpenBSD platform. The latter involves building the scaffolding to add the application to the ports tree: the port Makefile, OpenBSD specific patches, additional files, packing lists. As Ocicat mentioned, sometimes porting is trivial, sometimes it's very complex. And it's also possible that someone has already gone through the trouble of porting the application, and perhaps afterwards built a port for the application, or, is working on it now. I have no idea what it takes to port PNP4Nagios, nor to build a port for it. I did just check to see if the application had ever been mentioned on the ports@ mailing list. It had not been mentioned. If you have any trouble following build documentation or completing the installation ("porting") on OpenBSD, you could post to the ports@ mailing list and ask if anyone else has successfully installed it and could provide guidance ... or perhaps someone has built a port of it or has been working on a port.
__________________
OpenBSD LiveCDs/LiveDVDs |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Favorite Programming Tools | JMJ_coder | Programming | 15 | 28th March 2012 01:40 PM |
| Quality and Backwards Compatibility of GNU Tools ... | vermaden | Off-Topic | 1 | 12th May 2009 08:25 PM |
| UML tools | bichumo | Programming | 2 | 12th September 2008 02:23 PM |
| MAC Tools Mentor / OTC Genesis | stealintv | Off-Topic | 0 | 8th July 2008 12:55 AM |
| Benchmarking Tools | JMJ_coder | NetBSD General | 8 | 16th June 2008 10:42 PM |