Re: Problem installing ntop on 7.3 FreeBSD
On 01/03/11 13:25, Mike Sabroff wrote: I saw something on this tool (ntop) and decided to check it out. I did the make and then tried ti install. I got the following error : make install === Installing for ntop-3.3.10_3 === ntop-3.3.10_3 depends on executable: dot - not found ===Verifying install for dot in /usr/ports/graphics/graphviz === graphviz-2.26.3 option WITH_GTK is required for option WITH_GNOMEUI. *** Error code 1 Stop in /usr/ports/graphics/graphviz. *** Error code 1 Stop in /usr/ports/net/ntop. *** Error code 1 Stop in /usr/ports/net/ntop. I understand that when I chose the WITH_GNOMEUI option that I should hve also chosen the WITH_GTK option as well, though I didn't know that at the time. I have tried to make clean, and also make clean in the GeoIP and libpcap dirs to start over but I don't get the option screens now and don't know how to reset the options so the install will work. How can I either reset these options or reset the whole build so I get the option screens again? mike make config in a port's directory will bring up its options. You may also be interested in make config-recursive. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: FreeBSD Port: net-mgmt/net-snmp
Garrett Cooper wrote: On May 12, 2010, at 4:56 PM, Mike Jakubik wrote: Hi, I am having trouble compiling net-snmp on a number of 8-STABLE systems, below is the error. Thanks. --- creating libnetsnmpmibs.la (cd .libs rm -f libnetsnmpmibs.la ln -s ../libnetsnmpmibs.la libnetsnmpmibs.la) : libnetsnmpmibs.la /bin/sh ../libtool --mode=compile cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c -o snmpd.lo snmpd.c cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -fPIC -DPIC -o .libs/snmpd.o cc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -I/usr/include -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -c snmpd.c -o snmpd.o /dev/null 21 /bin/sh ../libtool --mode=link cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o snmpd snmpd.lo -L../snmplib/.libs -L../snmplib -L./.libs -L./helpers/.libs -L./helpers -L/usr/lib -rpath=/usr/lib:/usr/local/lib libnetsnmpagent.la helpers/libnetsnmphelpers.la libnetsnmpmibs.la ../snmplib/libnetsnmp.la -lelf -lssp_nonshared cc -O2 -pipe -march=nocona -fno-strict-aliasing -Ufreebsd8 -Dfreebsd8=freebsd8 -o .libs/snmpd .libs/snmpd.o -rpath=/usr/lib:/usr/local/lib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib -L/usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers -L/usr/lib ./.libs/libnetsnmpagent.so helpers/.libs/libnetsnmphelpers.so ./.libs/libnetsnmpmibs.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/helpers/.libs/libnetsnmphelpers.so /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so -lwrap -lkvm /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared -Wl,--rpath -Wl,/usr/local/lib ./.libs/libnetsnmpmibs.so: undefined reference to `exp' *** Error code 1 It looks like -lm is missing in the linker line -- do you have the config.log? Thanks, -Garrett___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org I don't have the autotools chops to submit a proper fix, but here are instructions to at least get it to finish building: http://lists.freebsd.org/pipermail/freebsd-ports/2010-May/061065.html -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Building net-mgmt/net-snmp fails
Olivier Cochard-Labbé wrote: Hi all, since some days, I can't compile net-snmp on my FreeBSD 8-Stable using the default make value. I've got this error message: net-snmp-5.4.2.1/agent/.libs/libnetsnmpagent.so -lwrap -lkvm /usr/ports/net-mgmt /net-snmp/work/net-snmp-5.4.2.1/snmplib/.libs/libnetsnmp.so -ldevstat ../snmplib/.libs/libnetsnmp.so -lcrypto -lelf -lssp_nonshared -Wl,--rpath -Wl,/usr/local/lib ./.libs/libnetsnmpmibs.so: undefined reference to `exp' Does anyone meet the same problem ? Thanks, Olivier I can confirm this on an 8.0-RELEASE/i386 machine. exp(3) lives in the math library, so those shared objects must be linked against it. Quick fix: when the build bombs out, edit /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/agent/Makefile and modify this line: LIBS= $(USELIBS) -lelf -lssp_nonshared $(PERLLDOPTS_FOR_APPS) ...to be this: LIBS= $(USELIBS) -lelf -lssp_nonshared -lm $(PERLLDOPTS_FOR_APPS) Also, edit /usr/ports/net-mgmt/net-snmp/work/net-snmp-5.4.2.1/apps/Makefile and modify this line: TRAPDWITHAGENT = $(USETRAPLIBS) -lelf -lssp_nonshared ...to be this: TRAPDWITHAGENT = $(USETRAPLIBS) -lelf -lssp_nonshared -lm ...then continue the build, which should now complete. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: How to upgrade perl 5.8 to 5.10?
Helmut Schneider wrote: Michal Varga wrote: # pkg_info | wc -l 457 # And this machine is even my package-building station! Anyway, portupgrade -af took 45 minutes. g Well, it's a dedicated blade after all :) And those 8 cores seem pretty nasty, I'm envious. Well, afaik I even cannot use more than one CPU when building ports. There were plans/rumors that this would change. Does anyone know more about it? ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org It has happened: http://lists.freebsd.org/pipermail/freebsd-ports/2009-March/053736.html I believe *dependencies* of a port will be compiled using one process (and thus CPU) at a time, however. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: mailman web access to archives failure:
David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache configuration files, in full, also in that directory. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports
Re: mailman web access to archives failure:
David Southwell wrote: David Southwell wrote: Boris Kochergin sp...@acm.poly.edu helpfully said: David Southwell wrote: Thank you in advance for replies. The list is now working fine however: From: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce On line: To see collection of prior postings to the list, visit the clicking link for bps_comps_print_announce Archives goes to: http://www.vizion2000.net/pipermail/bps_comps_print_announce/ with result: Forbidden You don't have permission to access/pipermail/bps_comps_print_announce/ on this server Attempt to view archives from Topis Section of the mailing list administration page using link for Go to list archives also fails Extract from httpd-error.log [Tue Dec 29 12:50:12 2009] [error] [client 62.49.197.51] attempt to invoke directory as script: /usr/local/mailman/cgi-bin/ [Tue Dec 29 12:50:47 2009] [error] [client 62.49.197.51] Symbolic link not allowed or link target not accessible: /usr/local/mailman/archives/public/bps_comps_print_announce, referer: http://www.vizion2000.net/mailman/listinfo/bps_comps_print_announce Extract from httpd.conf ScriptAlias /mailman /usr/local/mailman/cgi-bin/ Directory /usr/local/mailman Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all /Directory ScriptAlias /pipermail /usr/local/mailman/archives/public/ Directory /usr/local/mailman/archives/public/ Options FollowSymLinks ExecCGI AllowOverride None Order allow,deny Allow from all Options Indexes MultiViews AddDefaultCharset Off /Directory dns1# pwd /usr/local/mailman dns1# ls -l total 36 drwxrwsr-x 11 mailman mailman 2048 Dec 29 09:03 Mailman drwxrwsr-x 4 www www 512 Dec 28 13:07 archives drwxrwsr-x 2 root mailman 1024 Dec 28 13:07 bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cgi-bin drwxrwsr-x 2 root mailman 512 Dec 28 13:07 cron drwxrwsr-x 2 mailman mailman 512 Dec 28 15:54 data drwxrwsr-x 2 root mailman 512 Dec 28 13:07 icons drwxrwsr-x 6 mailman mailman 512 Dec 28 15:45 lists drwxrwsr-x 2 root mailman 512 Dec 29 14:00 locks drwxrwsr-x 2 mailman mailman 512 Dec 29 09:04 logs drwxrwsr-x 2 root mailman 512 Dec 28 13:07 mail drwxrwsr-x 37 root mailman 512 Dec 28 13:07 messages drwxrwsr-x 5 root mailman 512 Dec 28 13:07 pythonlib drwxrwsr-x 11 mailman mailman 512 Dec 28 15:54 qfiles drwxrwsr-x 2 root mailman 512 Dec 28 13:07 scripts drwxrwsr-x 2 root mailman 512 Dec 28 13:07 spam drwxrwsr-x 38 root mailman 512 Dec 28 13:07 templates drwxrwsr-x 4 root mailman 512 Dec 28 13:07 tests dns1# cd archives dns1# ls -l total 4 drwxrws--- 10 www www 512 Dec 28 15:45 private drwxrwsr-x 2 www www 512 Dec 28 15:46 public dns1# cd private dns1# ls -l total 16 drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat drwxrwsr-x 2 www www 512 Dec 19 17:58 bps_comp_print_chat.mbox drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders drwxrwsr-x 2 www www 512 Dec 19 17:57 bps_comp_print_reminders.mbox drwxrwsr-x 4 www www 512 Dec 29 03:27 bps_comps_print_announce drwxrwsr-x 2 www www 512 Dec 28 15:54 bps_comps_print_announce.mbox drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman drwxrwsr-x 2 www www 512 Dec 28 15:45 mailman.mbox dns1# cd ../public dns1# ls -l total 0 lrwxr-xr-x 1 www www 55 Dec 19 17:58 bps_comp_print_chat - /usr/local/mailman/archives/private/bps_comp_print_chat lrwxr-xr-x 1 www www 60 Dec 19 17:57 bps_comp_print_reminders - /usr/local/mailman/archives/private/bps_comp_print_reminders lrwxr-xr-x 1 www www 60 Dec 19 17:56 bps_comps_print_announce - /usr/local/mailman/archives/private/bps_comps_print_announce dns1# cd /usr/local/mailman/archives/private/bps_comps_print_announce dns1# ls -l total 14 drwxrwsr-x 2 www www 512 Dec 28 15:54 2009-December -rw-rw-r-- 1 www www 2870 Dec 28 15:54 2009-December.txt -rw-rw-r-- 1 www www 1356 Dec 29 03:27 2009-December.txt.gz drwxrws--- 2 www www 512 Dec 28 15:54 database -rw-rw-r-- 1 www www 1110 Dec 28 15:54 index.html -rw-rw 1 www www 870 Dec 28 15:54 pipermail.pck dns1# Thanks in advance The two Alias lines I have in my working installation are: ScriptAlias /mailman /usr/local/mailman/cgi-bin Alias /pipermail /usr/local/mailman/archives/public -Boris Changed those but still have the problem. Could you possible compare my owner:group and permissions with the setting in your working /usr/local/mailman/ hierarchy? Maybe the problem lies there. Thanks david A recursive listing of /usr/local/mailman is up at http://acm.poly.edu/~spawk/mailman/mailman.txt, with the two relevant Apache configuration files, in full, also in that directory. -Boris Thank you Boris After reading your files I changed the httpd.conf to follow your format but it still
Re: Issues with devel/boost-* on Sparc64
Alexander Churanov wrote: HI folks! As I know, currently devel/boost-libs port fails to build on sparc64. I had a discussion of this in September. The root cause is unknown for me. To investigate into this further I need either access to a sparc64 box or a person who has access and whom I may instruct with the actions to perform. Are there any plans to fix ports for sparc64 before the release? Sincerely, Alexander Churanov, maintainer of devel/boost-* ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Ahoy. I can give you shell access to a reasonably-speedy sparc64 machine (4 x 300 MHz) running 8.0-BETA. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Mailman: users can't post to a moderated list
Replying to myself: this appears to have been causing by putting OLD_MESSAGES_AS_PICKLES = 0 into /usr/local/bin/mailman/Mailman/Defaults.py (which used to work). -Boris Boris Kochergin wrote: Hi. I'm running mailman-with-htdig-2.1.12 and messages that would normally await moderation (for example, a non-subscribed user posting to a list) disappear into a black hole, and this message appears in logs/errror: Sep 01 13:24:55 2009 (62072) Uncaught runner exception: Generator instance has no __call__ method Sep 01 13:24:55 2009 (62072) Traceback (most recent call last): File /usr/local/mailman/Mailman/Queue/Runner.py, line 120, in _oneloop self._onefile(msg, msgdata) File /usr/local/mailman/Mailman/Queue/Runner.py, line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File /usr/local/mailman/Mailman/Handlers/Moderate.py, line 112, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File /usr/local/mailman/Mailman/Handlers/Hold.py, line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File /usr/local/mailman/Mailman/ListAdmin.py, line 205, in HoldMessage g(msg, 1) AttributeError: Generator instance has no __call__ method Sep 01 13:24:55 2009 (62072) SHUNTING: 1251825895.061239+d6bb4ec54c0a21a08ae544605b3090f38ebf0f51 The only reference to the problem I can find is at http://mail.python.org/pipermail/mailman-users/2009-April/065735.html, but there isn't much information there. Anyone know what's up? -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Mailman: users can't post to a moderated list
Hi. I'm running mailman-with-htdig-2.1.12 and messages that would normally await moderation (for example, a non-subscribed user posting to a list) disappear into a black hole, and this message appears in logs/errror: Sep 01 13:24:55 2009 (62072) Uncaught runner exception: Generator instance has no __call__ method Sep 01 13:24:55 2009 (62072) Traceback (most recent call last): File /usr/local/mailman/Mailman/Queue/Runner.py, line 120, in _oneloop self._onefile(msg, msgdata) File /usr/local/mailman/Mailman/Queue/Runner.py, line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 130, in _dispose more = self._dopipeline(mlist, msg, msgdata, pipeline) File /usr/local/mailman/Mailman/Queue/IncomingRunner.py, line 153, in _dopipeline sys.modules[modname].process(mlist, msg, msgdata) File /usr/local/mailman/Mailman/Handlers/Moderate.py, line 112, in process Hold.hold_for_approval(mlist, msg, msgdata, Hold.NonMemberPost) File /usr/local/mailman/Mailman/Handlers/Hold.py, line 224, in hold_for_approval id = mlist.HoldMessage(msg, reason, msgdata) File /usr/local/mailman/Mailman/ListAdmin.py, line 205, in HoldMessage g(msg, 1) AttributeError: Generator instance has no __call__ method Sep 01 13:24:55 2009 (62072) SHUNTING: 1251825895.061239+d6bb4ec54c0a21a08ae544605b3090f38ebf0f51 The only reference to the problem I can find is at http://mail.python.org/pipermail/mailman-users/2009-April/065735.html, but there isn't much information there. Anyone know what's up? -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Multiple instances of Mailman on FreeBSD
Jeffrey Goldberg wrote: On Aug 12, 2009, at 3:38 PM, Mel Flynn wrote: On Wednesday 12 August 2009 11:40:47 Bill Moran wrote: Were it me, I'd add jails to the system. [...] That's obviously not the only way to get what you want, just my suggestion. And mine. Thank you and Bill for the jail suggestion. I've never played with jails, as I really only have one public IP address available. You could assign each jail an RFC 1918 private address and perform NAT for them on the host system. I do this with PF and it works like a charm. -Boris FORCE_PKG_REGISTER abuse will hurt you sooner or later. I am living in fear of that. If you must, then set PKG_DBDIR, PORT_DBDIR and PREFIX correctly. I don't understand the Package and Port databases well enough to actually set them correctly, so I do suspect that I am causing trouble for myself this way. But things get much easier if you use seperate jails and a postfix in mailhub mode on the main IP if you have only one incoming IP. Ah. I hadn't thought of that. I do only have one IP. I hadn't realized that I could set up private addresses on the same host. Would the postfix on the main IP be able to run scripts that are on individual jails? If not, I'd have to set up a listening postfix in each jail which would accept mail forwarded to it only from the main IP. For outgoing mail, mailman can talk SMTP to a remote mail server. Another point of confusion with jails is that the HTTP interface for mailman would need to be on the public IP, but would need to access the appropriate mailman data that live within jails. So I really think that unless I can do full jails, each with their own SMTP and HTTP daemons on their own public IPs, this would be very complicated to maintain. But I am only guessing here as I don't really know what can and can't be done easily with jails. Cheers, -j ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: current Samba ports?
The port for 3.2 is net/samba32, the one for 3.3 is net/samba33, and there's even a net/samba4-devel one. -Boris Raymond Vetter wrote: Hello FreeBSD Team, FreeBSD Ports provide only Samba 3.0.x. It is possible to port Samba 3.2.x, 3.3.x for the current FreeBSD? The 3.0.x is quit old. thanks Raymond ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: porting: Linux to Freebsd
Robert Huff wrote: Alexander Leidinger writes: Obvious question but if you edited configure.ac, you did remember to rerun autoconf afterwards didn't you? Uh ... no. (When I said complete novice, wasn't kidding. :-) Not knowing C/++ when you want to port a C/C++ program makes it very hard for you to reach your goal... C, I know. (Though not as much as other folks.) GNU build tools ... not so much. :-) Anyway: many hours of compilation later, I hit this: /usr/bin/ld: cannot find -lttf Quick checking suggests libttf is a Linux-ism, replaced by libfreetype. Is this correct, and if so can I just (temporarily) make the change in the list of libraries? Robert Huff ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org Seems that way (http://fixunix.com/redhat/139735-fly-make-problem-fc3.html). Anyway, it will be sure to complain about not being able to find the symbols it's looking for if it's not the case. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: porting: Linux to Freebsd
Robert Huff wrote: Robert Huff writes: Done. Merrily compiling away. New problem. One of the files has: #ifdef LINUX #include sys/mman.h #endif What is the FreeBSD magic tag corresponding to LINUX? __FREEBSD__? Robert Huff ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org #ifdef __FreeBSD__ -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: porting dash (the shell)
Eitan Adler wrote: Boris Kochergin wrote: Eitan Adler wrote: if gcc -DBSD=1 -DSMALL -DSHELL -DGLOB_BROKEN -DFNMATCH_BROKEN -DIFS_BROKEN -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)= -I. -I. -I.. -include ../config.h -g -O2 -Wall -MT exec.o -MD -MP -MF .deps/exec.Tpo \ -c -o exec.o `test -f 'exec.c' || echo './'`exec.c; \ then mv -f .deps/exec.Tpo .deps/exec.Po; \ else rm -f .deps/exec.Tpo; exit 1; \ fi exec.c: In function 'find_command': exec.c:317: error: storage size of 'statb' isn't known exec.c:326: warning: implicit declaration of function 'stat64' exec.c:317: warning: unused eitan 'statb' gmake[3]: *** [exec.o] Error 1 gmake[3]: Leaving directory `/home/eitan/dash-0.5.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/eitan/dash-0.5.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/eitan/dash-0.5.1' gmake: *** [all] Error 2 stat64() and the statb structure appear to be some kind of Linuxisms. FreeBSD's stat() doesn't have any trouble with file sizes of over 2 GiB, so try replacing the stat64() call with stat() and the statb structure with a stat structure. -Boris After doing a global search and replace of stat64 to stat I get: mystring.c: In function 'single_quote': mystring.c:164: warning: implicit declaration of function 'strchrnul' mystring.c:164: error: invalid operands to binary - mystring.c:169: warning: implicit declaration of function 'mempcpy' mystring.c:169: warning: incompatible implicit declaration of built-in function 'mempcpy' strchrnul() and mempcpy() are GNU extensions to libc. Here they are, implemented in ISO C: char *strchrnul(const char *s, int c) { char *i; for (i = (char*)s; *i != '\0'; ++i) { if (*i == c) { return i; } } return i; } void *mempcpy(void *dst, const void *src, size_t len) { return (void*)(((char*)memcpy(dst, src, len)) + len); } You can Google around (or read the Linux man page) for what a GNU extension is supposed to do and implement it pretty easily. It's also a good idea to test your resulting code against the actual glibc implementation (I tested these on a friend's Linux machine). -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: porting dash (the shell)
Eitan Adler wrote: if gcc -DBSD=1 -DSMALL -DSHELL -DGLOB_BROKEN -DFNMATCH_BROKEN -DIFS_BROKEN -D__COPYRIGHT\(x\)= -D__RCSID\(x\)= -D_DIAGASSERT\(x\)= -I. -I. -I.. -include ../config.h -g -O2 -Wall -MT exec.o -MD -MP -MF .deps/exec.Tpo \ -c -o exec.o `test -f 'exec.c' || echo './'`exec.c; \ then mv -f .deps/exec.Tpo .deps/exec.Po; \ else rm -f .deps/exec.Tpo; exit 1; \ fi exec.c: In function 'find_command': exec.c:317: error: storage size of 'statb' isn't known exec.c:326: warning: implicit declaration of function 'stat64' exec.c:317: warning: unused eitan 'statb' gmake[3]: *** [exec.o] Error 1 gmake[3]: Leaving directory `/home/eitan/dash-0.5.1/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/home/eitan/dash-0.5.1/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/home/eitan/dash-0.5.1' gmake: *** [all] Error 2 stat64() and the statb structure appear to be some kind of Linuxisms. FreeBSD's stat() doesn't have any trouble with file sizes of over 2 GiB, so try replacing the stat64() call with stat() and the statb structure with a stat structure. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: OT: apache + php not working
Robert Huff wrote: Any experts out there willing to do a little off-list advising on why my Apache 2.2 server isn't handling php5? Robert Huff ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org I have several installations of Apache 2.2 with PHP 5 as a module. The relevant httpd.conf bits look like this: LoadModule php5_module libexec/apache22/libphp5.so (The above line is added to httpd.conf by the lang/php5 port if you compile the module.) ... IfModule dir_module DirectoryIndex index.html index.php /IfModule ... AddType application/x-httpd-php .php If I'm making some incorrect assumptions about your setup, can you be more specific about how you installed both Apache and PHP? -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Which ISC dhcp server to install?
stan wrote: Which ISC DHCP serverr port should I install? The 2 that I tried are both marked as broken. I have multiple installations of net/isc-dhcp30-server and find them all to work fine. Needless to say, it's not marked as broken. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: Which ISC dhcp server to install?
Eitan Adler wrote: Boris Kochergin wrote: stan wrote: Which ISC DHCP serverr port should I install? The 2 that I tried are both marked as broken. Update ports, run make config, ensure that you have one and only one openSSL version selected, try again. He probably means the BROKEN=... lines in the Makefiles of the net/isc-dhcp31-server and net/isc-dhcp40-server ports. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
security/pecl-hash no longer builds for PHP 5?
Hi. I tried installing the security/pecl-hash port with PHP 5.2.8 today and got this: # make === pecl-hash-1.5 cannot install: doesn't work with PHP version : 5 (Doesn't support PHP 5). *** Error code 1 I've installed it on many machines with PHP 5 in the past--I guess before it was marked as not working with PHP 5--and it has worked fine in the capacity I've used it (hash('sha256', ...)). -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
Re: math/fftw3 missing header file
Alex Kloss wrote: Hello all, I installed math/fftw3 today because a program I'm working on porting to FreeBSD (http://arss.sourceforge.net/) requires it. However, when I ran make, it gave me the following error: Scanning dependencies of target arss [ 20%] Building C object CMakeFiles/arss.dir/arss.o /home/alex/Desktop/arss-0.2.3-src/src/arss.c:22:19: error: fftw3.h: No such file or directory *** Error code 1 Stop in /usr/home/alex/Desktop/arss-0.2.3-src/src. *** Error code 1 Stop in /usr/home/alex/Desktop/arss-0.2.3-src/src. *** Error code 1 Stop in /usr/home/alex/Desktop/arss-0.2.3-src/src. The pkg-plist for math/fftw3 says that it installs fftw3.h, but I could not find this file anywhere in my system using the find command. Any thoughts? Thanks, Alex Kloss ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED] I have fftw3-3.1.2 installed and the file's full path is /usr/local/include/fftw3.h. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Core dump using csup to update ports tree
Randy Pratt wrote: On Sat, 12 Jul 2008 10:23:07 -0700 Garrett Cooper [EMAIL PROTECTED] wrote: On Sat, Jul 12, 2008 at 7:47 AM, Randy Pratt [EMAIL PROTECTED] wrote: On Sat, 12 Jul 2008 07:26:36 -0700 Jeremy Chadwick [EMAIL PROTECTED] wrote: On Sat, Jul 12, 2008 at 10:00:25AM -0400, Randy Pratt wrote: Later, I retried cvsup5.us.freebsd.org and was not able to duplicate the core dump. I do have the core dump if its of any use: http://myfreebsd.homeunix.net/csup.core Can you provide a backtrace with this core? $ gdb /usr/bin/csup csup.core ... (gdb) bt full # gdb /usr/bin/csup csup.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as i386-marcel-freebsd...(no debugging symbols found)... Core was generated by `csup'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libcrypto.so.4...(no debugging symbols found)...done. Loaded symbols for /lib/libcrypto.so.4 Reading symbols from /lib/libz.so.3...(no debugging symbols found)...done. Loaded symbols for /lib/libz.so.3 Reading symbols from /lib/libpthread.so.2...(no debugging symbols found)...done. Loaded symbols for /lib/libpthread.so.2 Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x281b3677 in pthread_testcancel () from /lib/libpthread.so.2 [New Thread 0x8066600 (LWP 100197)] [New Thread 0x8066000 (runnable)] [New LWP 100198] (gdb) bt full #0 0x281b3677 in pthread_testcancel () from /lib/libpthread.so.2 No symbol table info available. #1 0x281abaaa in pthread_mutexattr_init () from /lib/libpthread.so.2 No symbol table info available. #2 0x2808d450 in ?? () No symbol table info available. (gdb) q # Thanks for the interest and response, Best regards, Randy Randy, Did you build csup yourself or did it come prepackaged with the base system? If the former, please recompiling csup with CFLAGS=-g (as well as your current CFLAGS) and then repost your results. Also, please provide your CFLAGS (and any other compile flag variables) as a sidenote. Its the csup built with the base system. The only thing of consequence in /etc/make.conf is: CFLAGS= -O -pipe NO_PROFILE=true# Avoid compiling profiled libraries I can see where the additional debugging symbols might be useful *if* it happens again. I can't reproduce it on demand. How would I rebuild the base csup to use the -g or would it be better to switch to the ports csup version and do it there? Thanks, Randy You can change your CFLAGS in /etc/make.conf to -g -pipe, cd into /usr/src/usr.bin/csup, make, and make install. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
sysutils/screen package
Hi, List. I noticed that there isn't a package for sysutils/screen for 7.0. Compiling it from ports works fine, and I looked around and wasn't able to find logs relevant to it on http://pointyhat.freebsd.org/errorlogs/, so I was wondering if anyone could shed some light on why it's not available. Thanks. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sysutils/screen package
Chess Griffin wrote: Chess Griffin wrote: Boris Kochergin wrote: Hi, List. I noticed that there isn't a package for sysutils/screen for 7.0. Compiling it from ports works fine, and I looked around and wasn't able to find logs relevant to it on http://pointyhat.freebsd.org/errorlogs/, so I was wondering if anyone could shed some light on why it's not available. Thanks. -Boris NO_PACKAGE is set in the Makefile, which also states: Tends to loop using 100% CPU when used from package - perhaps it hard-codes information about the build host By the way misc/tmux is a really nice GNU Screen replacement. It's smaller, lighter, and BSD licensed. According to the developer, there is some cool stuff now in CVS (scrolling status line, interactive command prompt). I've been using it for awhile now and really enjoy it. Cool. Thanks for the information. -Boris ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]