#1
  1. Throws Rocks
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio
    Posts
    392
    Rep Power
    17

    Installing the latest apache through port tree on OpenBSD 3.0


    I have downloaded and setup the port tree on OpenBSD 3.0 and installed a few items through it.

    I want to install the most recent apache httpd, but I don't see apache anywhere. I did a locate apache from the shell, and all I got was the location of apache that was provided with OpenBSD. I did do a /usr/libexec/locate.updatedb after installing the port tree, so I am assuming that either apache doesn't come in the port tree or that I am searching for the wrong keyword. I looked through /usr/ports/www and saw items such as mod_perl and php, but I didn't see apache anywhere.

    Any ideas or advice is appreciated
    Two things have come out of Berkeley, Unix and LSD.
    It is uncertain which caused the other.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Posts
    310
    Rep Power
    17
    I don't use OpenBSD, but FreeBSD... How about apache13 and apache2 in /usr/ports/www/??
  4. #3
  5. Throws Rocks
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio
    Posts
    392
    Rep Power
    17
    Unfortunately no such listing exists. Below is the output from the shell for the directory listing:

    bash-2.05$ cd /usr/ports/www
    bash-2.05$ ls -l
    total 134
    drwxr-xr-x 2 root wheel 512 Oct 19 2001 CVS
    -rw-r--r-- 1 root wheel 3479 Sep 23 2001 Makefile
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 amaya
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 analog
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 august
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 bk2site
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 bluefish
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 cgicc
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 cgiparse
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 decss
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 flashplugin
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 hotjava
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 http_load
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 http_ping
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 jakarta-tomcat
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 jesred
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 jserv
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 junkbuster
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 libghttp
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 links
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 mhonarc
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 mindterm
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 mod_auth_radius
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 mod_frontpage
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 mod_gzip
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 mod_perl
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 mozilla
    drwxr-xr-x 9 root wheel 512 Oct 19 2001 netscape
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 nscache
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 opera
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-Apache-DBI
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-Apache-MP3
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-Blatte-HTML
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-CGI
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-CGI-XMLApplication
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-Base
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-CGIChecker
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 p5-HTML-Embperl
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-FromText
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 p5-HTML-Mason
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 p5-HTML-Parser
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-Stream
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-Table
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-TableExtract
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-Tagset
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTML-Tree
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-HTTP-GHTTP
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 p5-URI
    drwxr-xr-x 5 root wheel 512 Oct 19 2001 p5-libwww
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 php3
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 php4
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 squid
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 surfraw
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 thttpd
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 tidy
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 transproxy
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 w3m
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 w3mir
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 webalizer
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 weblint
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 wwwcount
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 wwwoffle
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 xmhtml
    drwxr-xr-x 6 root wheel 512 Oct 19 2001 zope


    This is the output from a locate for apache:

    bash-2.05$ sudo /usr/libexec/locate.updatedb
    Password:
    bash-2.05$ locate apache
    /usr/lib/apache
    /usr/lib/apache/include
    /usr/lib/apache/include/ap.h
    /usr/lib/apache/include/ap_alloc.h
    /usr/lib/apache/include/ap_compat.h
    /usr/lib/apache/include/ap_config.h
    /usr/lib/apache/include/ap_config_auto.h
    /usr/lib/apache/include/ap_ctx.h
    /usr/lib/apache/include/ap_ctype.h
    /usr/lib/apache/include/ap_hook.h
    /usr/lib/apache/include/ap_md5.h
    /usr/lib/apache/include/ap_mm.h
    /usr/lib/apache/include/ap_mmn.h
    /usr/lib/apache/include/ap_sha1.h
    /usr/lib/apache/include/buff.h
    /usr/lib/apache/include/compat.h
    /usr/lib/apache/include/conf.h
    /usr/lib/apache/include/explain.h
    /usr/lib/apache/include/fnmatch.h
    /usr/lib/apache/include/hsregex.h
    /usr/lib/apache/include/http_conf_globals.h
    /usr/lib/apache/include/http_config.h
    /usr/lib/apache/include/http_core.h
    /usr/lib/apache/include/http_log.h
    /usr/lib/apache/include/http_main.h
    /usr/lib/apache/include/http_protocol.h
    /usr/lib/apache/include/http_request.h
    /usr/lib/apache/include/http_vhost.h
    /usr/lib/apache/include/httpd.h
    /usr/lib/apache/include/multithread.h
    /usr/lib/apache/include/os-inline.c
    /usr/lib/apache/include/os.h
    /usr/lib/apache/include/rfc1413.h
    /usr/lib/apache/include/scoreboard.h
    /usr/lib/apache/include/util_date.h
    /usr/lib/apache/include/util_md5.h
    /usr/lib/apache/include/util_script.h
    /usr/lib/apache/include/util_uri.h
    /usr/lib/apache/include/xml
    /usr/lib/apache/include/xml/asciitab.h
    /usr/lib/apache/include/xml/hashtable.h
    /usr/lib/apache/include/xml/iasciitab.h
    /usr/lib/apache/include/xml/latin1tab.h
    /usr/lib/apache/include/xml/nametab.h
    /usr/lib/apache/include/xml/utf8tab.h
    /usr/lib/apache/include/xml/xmldef.h
    /usr/lib/apache/include/xml/xmlparse.h
    /usr/lib/apache/include/xml/xmlrole.h
    /usr/lib/apache/include/xml/xmltok.h
    /usr/lib/apache/include/xml/xmltok_impl.h
    /usr/lib/apache/modules
    /usr/lib/apache/modules/libproxy.so
    /usr/lib/apache/modules/mod_auth_anon.so
    /usr/lib/apache/modules/mod_auth_db.so
    /usr/lib/apache/modules/mod_auth_dbm.so
    /usr/lib/apache/modules/mod_auth_digest.so
    /usr/lib/apache/modules/mod_cern_meta.so
    /usr/lib/apache/modules/mod_define.so
    /usr/lib/apache/modules/mod_digest.so
    /usr/lib/apache/modules/mod_expires.so
    /usr/lib/apache/modules/mod_headers.so
    /usr/lib/apache/modules/mod_info.so
    /usr/lib/apache/modules/mod_log_agent.so
    /usr/lib/apache/modules/mod_log_referer.so
    /usr/lib/apache/modules/mod_mime_magic.so
    /usr/lib/apache/modules/mod_mmap_static.so
    /usr/lib/apache/modules/mod_rewrite.so
    /usr/lib/apache/modules/mod_speling.so
    /usr/lib/apache/modules/mod_unique_id.so
    /usr/lib/apache/modules/mod_usertrack.so
    /usr/lib/apache/modules/mod_vhost_alias.so
    /usr/local/share/zsh/4.0.2/functions/_apachectl
    /usr/ports/shells/zsh/stable/w-zsh-4.0.2/fake-i386/usr/local/share/zsh/4.0.2/functions/_apachectl
    /usr/ports/shells/zsh/stable/w-zsh-4.0.2/zsh-4.0.2/Completion/Unix/Command/_apachectl
    /usr/sbin/apachectl
    /usr/share/man/cat8/apachectl.0
    /var/www/htdocs/apache_pb.gif
    /var/www/htdocs/manual/images/apache_header.gif
    /var/www/htdocs/manual/images/apache_pb.gif
    /var/www/htdocs/manual/programs/apachectl.html
    /var/www/icons/apache_pb.gif

    What a kick in the pants, eh?
    Two things have come out of Berkeley, Unix and LSD.
    It is uncertain which caused the other.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Posts
    310
    Rep Power
    17
    What a short list compare to FreeBSD.. Hehe.. You still can grab the source of Apache from www.apache.org and compile it by yourself..
  8. #5
  9. Throws Rocks
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio
    Posts
    392
    Rep Power
    17

    Unhappy Ah well


    This is true, but after reading all the posts by freebsd about NON-Standard PREFIX installation, I take second thoughts. That's why I was hoping to install it from the ports tree. But I guess I will just compile the source. Thanks for attempting mezz, I appreciate it
    Two things have come out of Berkeley, Unix and LSD.
    It is uncertain which caused the other.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> I want to install the most recent apache httpd

    Do you mean 1.3.24 or 2.0.36?

    OpenBSD comes with 1.3.xx as the base system by default therefore you can't locate it from the ports tree.
    If you want 1.3.24 you may cvsup to 3.1, 3.1-stable or even 3.1-current. Though -current is somewhat a challenge so it's not suggested.

    Or if you are worrying about the non-standard prefix you can follow the OpenBSD layout from config.layout file.
  12. #7
  13. Throws Rocks
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio
    Posts
    392
    Rep Power
    17
    I meant apache 2.0.36. I was considering CVSup, but I am pretty new to non-Windows computing (hence my user name), so I was sorta hesitant to jump into CVSup. However, OpenBSD had a pretty decent guide on their site. So I decided to be brave/stupid and try it.

    I ran a locate layout.config from the shell, but there were no results returned. I will look for it more thoroughly though, and see what I come up with.

    Thanks freebsd.
    Two things have come out of Berkeley, Unix and LSD.
    It is uncertain which caused the other.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> I meant apache 2.0.36

    You shouldn't as 2.x is not quite usable yet.

    >> So I decided to be brave/stupid and try it

    Good. But be sure to do backup accordingly and be prepared to reinstall very soon. Just be sure to use DESTDIR environment variable (most FreeBSD people never heard or take advantage of) so in case you mess up something it all goes under that DESTDIR directory tree.
    Here is a buildworld sucess rate (without extra hacks) comparion chat for your reference:
    Code:
    FreeBSD tracking -STABLE: 85%
    NetBSD tracking release-1-5: 95% (equivalent to FreeBSD's -STABLE)
    NetBSD tracking -current: 90%
    OpenBSD tracking -stable: 60%
    OpenBSD tracking -current: 40%
    Are you still brave enough? As you can see, buildworld (even tracking -current) is easiest on NetBSD.

    >> I ran a locate layout.config

    Check this -> /usr/src/usr.sbin/httpd/config.layout
    If you insist to install 2.0.36, download and extract its src to /usr/local/src then compare the config.layout with the 1.3.24 one in /usr/src/......
  16. #9
  17. Throws Rocks
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio
    Posts
    392
    Rep Power
    17
    Well, the CVSup worked without any problems. Now the ports tree has many more items available, including apache.

    >> You shouldn't as 2.x is not quite usable yet.

    I will check that out further. As far as I'd read/heard, Apache 2.0.36 seemed to be working pretty well. If you have any resources you'd suggest that I read for evaluating 1.3.24 against 2.0.36, please share

    Those buildworld stats are quite interesting. I have a box right now that is running Windows XP (for audio stuff that I do), but lately (today) it's been acting up and I'm about to put BSD on it. I think I might actually go with FreeBSD. freebsd (the board member) makes a very convincing case, based on the posts of his that I've read, as to why I should give FreeBSD a try.

    Thanks again for everything. I'm off to enjoy a night of music.
    Two things have come out of Berkeley, Unix and LSD.
    It is uncertain which caused the other.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    4
    Rep Power
    0
    >> If you have any resources you'd suggest that I read for evaluating 1.3.24 against 2.0.36

    1) History says it all that whenever a software (including OS) has a major release or rewritten it takes quite a while (trial and error reports from users) to be usable.

    2) We all know that Apache is highly configurable and there's something called module. Many of the so-called modules (including mod_php4) are non-default or 3rd party modules. When a module is written and developed by a 3rd party there is no guarantee that his module is 2.x compatible, at least for the present time.

    3) Like I said above, Apache is highly configurable, therefore there's a lot to learn from its most stable version 1.3.24 and do things right instead of jumping to a not-so-usable version and cry for help with something that's very basic in 1.3.x.

    4) 2.0.36 is for those who'd like to trade reliability for performance. Yes, you may have some gains in performance but are you having performance problems with your existing Apache? Why trade your reliability, compatibility and possibly security for performance? It doesn't seem to be a good deal at all.

    IMHO, time will tell. Just wait another half year until those reliability + compatibility issues are completely gone.

IMN logo majestic logo threadwatch logo seochat tools logo