setting gcc46 as default compiler?
I've built and installed the gcc46 compiler(s) - need gfortran - and I can't seem to find the correct documentation on how to update /etc/make.conf for including the gfortran46. This is what mine currently looks like: $ cat make.conf # added by use.perl 2012-06-07 03:03:21 PERL_VERSION=5.10.1 .if !empty(.CURDIR:M/usr/ports/*) exists(/usr/local/bin/gcc46) CC=gcc46 CXX=g++46 CPP=cpp46 FC=gfortran46 .endif FFLAGS=-O2 -mtune=athlon64 CC=gcc46 CXX=g++46 CPP=cpp46 FC=gfortran46 $ Am I close? Help? Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 230 SW 3rd Street Suite #310 Corvallis, Oregon 97333 541-602-5438 (c) 541-754-2457 (h) jeff.hamann[at]forestinformatics[dot]com jeff.d.hamann[at]gmail[dot]com http://www.forestinformatics.com http://en.wikipedia.org/wiki/Forest_informatics To ensure that your email is processed, include a subject entry in your email. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
/usr/ports/textproc/flex port didn't replace existing flex install
I'm running: FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 I need to update flex for building postgresql-9.0.3 from source. I installed the latest port (flex-2.5.35_4) from /usr/ports/textproc/flex. When I flex --version, I still get the old version of flex (2.5.4). Is there some other place I need to set the path to flex? Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com http://forufus.blogspot.com/ http://en.wikipedia.org/wiki/Forest_informatics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
can't build teTeX port in FreeBSD 8.2 amd64
I've tried to install the teTeX port (for pdflatex, etc.) and keep running into this error. I can't seem to find a solution on the web and I could really use the help. freebsd-82-amd64# uname -a FreeBSD freebsd-82-amd64.localdomain 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 r...@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 freebsd-82-amd64# cd /usr/ports/print/teTeX freebsd-82-amd64# make install === Installing for teTeX-3.0_4 === teTeX-3.0_4 depends on file: /usr/local/share/texmf-local/ls-R - found === teTeX-3.0_4 depends on file: /usr/local/share/texmf-dist/LICENSE.texmf - not found ===Verifying install for /usr/local/share/texmf-dist/LICENSE.texmf in /usr/ports/print/teTeX-texmf === teTeX-texmf-3.0_6 depends on file: /usr/local/share/texmf-local/ls-R - found === teTeX-texmf-3.0_6 depends on file: /usr/local/share/fonts/cmpsfont/README - not found ===Verifying install for /usr/local/share/fonts/cmpsfont/README in /usr/ports/print/cmpsfont === Vulnerability check disabled, database not found === License check disabled, port has not defined LICENSE = cmps-unix.tar.gz doesn't seem to exist in /usr/ports/distfiles/. = Attempting to fetch http://cvsup.theplanet.com/distfiles//cmps-unix.tar.gz fetch: http://cvsup.theplanet.com/distfiles/cmps-unix.tar.gz: Connection refused = Attempting to fetch http://ftp.ctex.org/pub/tex/fonts/type1//cmps-unix.tar.gz fetch: http://ftp.ctex.org/pub/tex/fonts/type1/cmps-unix.tar.gz: size mismatch: expected 1915486, actual 1917739 = Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles//cmps-unix.tar.gz fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/cmps-unix.tar.gz: size mismatch: expected 1915486, actual 1917739 = Couldn't fetch it - please try to retrieve this = port manually into /usr/ports/distfiles/ and try again. *** Error code 1 Stop in /usr/ports/print/cmpsfont. *** Error code 1 Stop in /usr/ports/print/teTeX-texmf. *** Error code 1 Stop in /usr/ports/print/teTeX. *** Error code 1 Stop in /usr/ports/print/teTeX. Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com jeff.d.hamann[at]gmail[dot]com http://www.forestinformatics.com http://forufus.blogspot.com/ http://en.wikipedia.org/wiki/Forest_informatics ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
startup postgresql 9.0.3
I've installed and tested postgresql just fine on FreeBSD 8.2. I've been trying to get postgresql (the server) to start on bootup using /etc/rc.conf system. I'm using the script from the tarball (found in the contrib/start-scripts/freebsd of postreges tarball) I can't seem to get it to work on FreeBSD 8.2 amd64 (I don't think the arch is important here, but you never know). As instructed in the script, I've moved the file to /usr/local/etc/rc.d/postgresql I've added the postgresql_enable=YES to /etc/rc/conf. I know I'm missing some magic here (http://www.freebsd.org/doc/en_US.ISO8859-1/articles/rc-scripting/index.html perhaps?) I've /usr/local/pgsql/bin./postgres --help'd too and can't seem to get traction. Can you please help? I'm sure this is something simple I'm neglecting. Please don't respond with Why don't you just use the ports collection? There's reasons - like: 1) need to build from source, 3) it's for a tutorial, and 3) postgresql90-server isn't building. Respectfully, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com http://forufus.blogspot.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
adding postgresql_enable=YES by hand
Hi, I'm sure this is a newbie question, but I can't seem to get traction via web searches... In the past, when I've installed postgresql using the ports collection, I haven't had to worry about this. I've built postgresql from source on FreeBSD (not using the ports collection) and now need to add: postgresql_enable=YES to the rc.conf file so that when the machine is booted, the postmaster will start. Now, I need to understand the mechanics between: blah_blah_blah_enable=YES and $ /usr/local/blah_blah_blah/bin/thingy_ctl -D /usr/blah_blah_blah/data start/stop/restart Since I need to be able to build outside the ports collection (other OSes apply), can someone please point me in the right direction for hooking this up Please? Jeff. Jeff Hamann jeff.d.ham...@gmail.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
setting sendmail.mc options?
I'm sure this isn't the correct place for this question, but I'm not sure where to go as I only use my FreeBSD Unleashed to admin my sendmail. I'm a newbie at this and could use a little help. I'm trying to configure sendmail, using the freebsd port, to only relay mail once a day (I hate emails every few minutes), and if possible to hold outbound mail in the que (I think there's some que) until some fixed time (like 7am) so that all my mail is transferred then. I've tried adding: #sendmail_flags=-bp -q480m and #sendmail_flags=-q120m after my sendmail_enable=YES and that didn't seem to work. I've tried adding the following to my .mc file, define( 'confMIN_QUEUE_AGE', '360m' ) to my mc files. I then typed, make, make install, make restart from command line and it doesn't seem to change the behavior. I'm sure this is a trivial config, but I'm a newbie at this and could use a little help. Thanks, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Where is gfortran in FreeBSD 7.2 Release (i386)?
I've been trying to figure out where gfortran went since it doesn't appear in the /usr/ports collection in FreeBSD 7.2 (i386). I need it to build plots of numerical things and use the following lots: ./configure \ CC=gcc -arch i386 \ CXX=g++ -arch i386 \ OBJC=gcc -arch i386 \ F77=gfortran -arch i386 \ FC=gfortran -arch i386 \ --with-python \ --with-openssl My web searches turn up lots of on-responses (i.e. you shouldn't be using fortran anway's it's dead...), and I seem to have gcc42 installed. $ gcc -v Using built-in specs. Target: i386-undermydesk-freebsd Configured with: FreeBSD/i386 system compiler Thread model: posix gcc version 4.2.1 20070719 [FreeBSD] $ A little help please? Thanks, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: netbooks for freebsd?
thanks. i've looked at both an acer and lenovo models and like the lenovo model better. as for linux... no way.. had too many hack experiences during the early years. that's why i made the switch to bsd. i would like to make my own port (super-port?), build a distro, and dump it onto a machine. haven't tested on virtual machine yet, but think that would be the smartest method. thanks again. On Aug 23, 2009, at 11:39 AM, ill...@gmail.com wrote: 2009/8/19 Jeff Hamann jeff.ham...@forestinformatics.com: I would like to try some experimental software on a netbook. Can somebody recommend a netbook that can do FreeBSD. Late to the discussion, sorry I can't give positive advice, but: I can explicity UNADVISE the (ee?)pc 1005ha Networking (atheros 9285, iirc) might work under ndis, wired (I forget which chipset) doesn't work. I put ubuntu on it, and even _that_ took some hacks. -- -- Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
netbooks for freebsd?
I would like to try some experimental software on a netbook. Can somebody recommend a netbook that can do FreeBSD. Requirements: 1) Need to able to wipe out any ms-windows stuff, get installed, boot up and running within 60 minutes of my time. Download, svn checkouts, etc. not included. I've tired of spending weekend marathons for fun 2) Normal user will boot up in graphical interface, connect to net, etc. without anything other than one finger (touchpad?) I'm thinking this is a normal end-user requirement. 3) $200 even possible? 4) hook up gps units? cronjobs? Am I dreaming? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
network appliance question
I would like to take a ton of apps I've compiled from source, plus gobs of my own source, build a distro of that super solid freebsd I love, and hermetically seal it up in a box that can be plugged into a network hub, so that users don't have to use anything but a web browser, sftp, or ssh to access the contents. My questions are as follows: 1) Is this possible? 2) If so, is there a network appliance starter kit I can play with first to prove the concept, and 3) If so, where? I haven't been too successful searching for network appliance building for dummies Thanks, Jeff. Jeff Hamann, PhD PO Box 1421 Corvallis, Oregon 97339-1421 541-754-2457 jeff.hamann[at]forestinformatics[dot]com http://www.forestinformatics.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org