Re: Freebsd support in Adelaide wanted

2013-09-21 Thread Greg 'groggy' Lehey
I considered dropping FreeBSD-questions from this reply, but since it
contains out-of-date contact details, I'm leaving them in.

On Saturday, 21 September 2013 at 17:17:07 +0200, Julian H. Stacey wrote:
 Hi, Reference:
 From:Danny Beger da...@beger.com.au
 Date:Sat, 21 Sep 2013 16:30:57 +0930

 Danny Beger wrote:

 I have a small law firm in Adelaide and I am looking to engage
 someone to build / purchase a new server to replace my current
 server which runs v6 freebsd.

 Can you recommend anyone?

 Happily,
 http://www.berklix.com/consultants/table.html
 shows
 Mike Smith in Adelaide +61 8 8267 3493

That's massively out of date.  Mike left Adelaide in 1998, and has
been working for Apple in Cupertino for about 10 years.

 Greg Lehey in Echunga +61 8 83888286

That's out of date too.  I left Adelaide over 6 years ago.  Up-to-date
information at http://www.lemis.com/grog/ .

 Both are well know in FreeBSD community :-)
 I've cc'd them both

Thanks.  Danny did in fact contact me directly, and I think we've
found somebody for him.

 PS for other consultants:
 If you want to be added to geographic indexed table
 just email me a pre-prepared HTML table enty
 See: http://www.berklix.com/consultants/

It would certainly be a good idea for more eyes to go through this
list and help you get it up to date.

Greg
--
Sent from my desktop computer.
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua


pgpq8FhBNt4Hc.pgp
Description: PGP signature


Re: highest nice(1) -n increment value?

2013-07-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/8/13 6:48 AM, Anton Shterenlikht wrote:
 It is not clear from the nice(1) man page, i.e. for /usr/bin/nice,
 not a shell built-in nice, what is the highest increment value nice
 will accept.
 
 It seems it is limited to 20. I tried
 
 $ /usr/bin/nice -n 100 portmaster -a
 
 But all processes spawned by the portmaster have the nice value of
 only 20, as in:
 
 PID USERNAMETHR PRI NICE   SIZERES STATETIMEWCPU
 COMMAND 57586 root  1  52   20 13976K  4720K wait 0:00
 0.39% sh 52729 root  1  40   20 13976K  4960K wait 0:02
 0.00% sh 58239 root  1  92   20 35632K  8584K RUN  0:00
 0.00% pkg 58237 root  1  52   20  9216K  1616K ppwait
 0:00   0.00% make
 
 The root shell priority was 0.
 
 So is 20 the upper increment limit?
 
 Thanks
 
 Anton

Yes, please check the setpriority man page:
http://www.freebsd.org/cgi/man.cgi?query=setpriority

The prio argument is a value in the range -20 to 20.  The default
priority is 0; lower priorities cause more favorable scheduling.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlHkTMwACgkQ0sRouByUApAzQACgvf8VJ8bO6Rld8UmOWRwNexmS
3FoAniQ0bdyu4DtNIXbKoP5ogasvFewk
=/u88
-END PGP SIGNATURE-
___
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: Any BASIC Gurus around?

2013-06-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/17/13 1:16 PM, Chris Maness wrote:
 I am having trouble getting this old USNO basic program running in
 bwBASIC. The error output is not clear to me where the problem is.
 Here is the code, if someone wouldn't mind running it and
 suggesting edits:
 

...setting wayback machine to ca. 1979...

Here is a patch to apply to your code that gets the program a little
further: http://people.freebsd.org/~glarkin/diffs/prog.bas.diff

There were some O characters that should have been 0 instead and
at least a couple of Unicode characters that I removed.

It prints out some results up to the moon illuminance, and then
bwBasic core dumps, but maybe you'll be able to debug from there.

Good luck,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG/TPIACgkQ0sRouByUApDxQwCggXDVspM4GF2dlI5EvlmUsvld
qtYAn2NeBVSPHJ8p4nEYvN80bbXZGecr
=Z9tY
-END PGP SIGNATURE-
___
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: Any BASIC Gurus around?

2013-06-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/17/13 3:03 PM, Chris Maness wrote:
 Oops, here is another patch that includes a correction for the
 missing parenthesis that Michael Ross pointed out:
 
 --- sun.bas.orig2013-06-17 11:51:00.0 -0700 +++
 sun.bas2013-06-17 11:57:55.0 -0700 @@ -104,7 +104,7 @@ 1020
 ON N GOTO 1030, 1090 1030 IS=133775.*M/SK 1040 PRINT SUN AZIMUTH
 (DEG.) ;AZ -1050 PRINT SUN ALTITUDE (DOG.) ;HA +1050 PRINT SUN
 ALTITUDE (DEG.) ;HA 1060 PRINT SUN ILLUMINANCE (LUX) ;IS 1070
 N=2 1080 GOTO 940 @@ -200,7 +200,7 @@ 1980 DS=FNARCSIN(SD) 1990
 RETURN 2000 H=(A(L)-SI*SD)/(CI*COS(D))S -2010 IF ABS(H1. THEN GOTO
 2040 +2010 IF ABS(H)1. THEN GOTO 2040 2020 H=FNARCOS(H)*RD/C 2030
 RETURN 2040 H=1.5
 
 Thanks, guys.  It will be cool if I can figure out why the
 interpreter is core dumping.
 
 Chris Maness

Hi Chris,

I prepared a new patch that incorporates my fixes, yours and
Michael's.  I found the coredump - multiple missing right parens on
line 1170.  Then I ran into another problem on line 430 and made an
educated guess with the fix.

The new patch is here, and you'll need to apply it to the original
version of the program:
http://people.freebsd.org/~glarkin/diffs/prog.bas.2.diff

Hope that works,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG/ZiIACgkQ0sRouByUApAjVQCfYAWvfi7sJwa6+og+jcJDsrno
jaYAn1vqRecRUn8e1dqU9uI+TMlvjU3Q
=9Tnl
-END PGP SIGNATURE-
___
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: easy question about logcheck

2013-06-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/17/13 4:16 PM, Pol Hallen wrote:
 Hi all :-)
 
 I just configurated logcheck and everything is perfect :-)
 
 A question: where is the script that handle to send email?
 
 I check also with pkg_info -L but I didn't see any script that send
 email
 
 thanks for help!
 
 Pol

Hi Pol,

If you include logcheck in a cron job (hourly, daily, etc.), the cron
system will send the email with its output.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlG/d8IACgkQ0sRouByUApAi7gCdFhs9h5HqVZ8sQRTStZP15nj5
casAoIAPxjfqoNPOndWM3QNfX7ikSmwU
=q90K
-END PGP SIGNATURE-
___
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: Downgrading a port

2013-05-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/10/13 2:32 AM, Polytropon wrote:
 On Thu, 9 May 2013 18:03:22 +0200, b...@todoo.biz wrote:
 I wanted to know if there is a way to simply downgrade a package 
 I have installed with pkgng ?
 
 There is no such thing as a simple downgrade. :-)

Oh dear, Boromir has something to say about it: http://qkme.me/3uc9zg

 
 The primary goal of the new pkg system is to provide as bleeding
 edge possible in binary precompiled form, with the ability of
 binary upgrades. Switching to older versions has not been a direct
 concern, I think.
 
 
 I know that there is portdowngrade, but I will have to reinstall 
 all ports architecture to be able to install this.
 
 Correct. The portdowngrade program relies on the ports infra- 
 structure and requires you to build things yourself. I think this
 will be the easiest way to go.
 
 
 
 


- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGNSUEACgkQ0sRouByUApCW5ACfeh+tmcy1CPAE36bVuGK20qT3
eSMAoJIrBseYylTRc3C4llUZJVvcrTXJ
=Yn3q
-END PGP SIGNATURE-
___
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: VMware tools for FreeBSD

2013-05-08 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/8/13 7:09 AM, Olivier Nicole wrote:
 Hi,
 
 I am running an ESXi 5.1 VMware server, with one FreeBSD (8.3)
 guest.
 
 I am trying to figure how to install the VMware tools:
 
 - the linux one are working, but I woul prefere a more native
 FreeBSD
 
 - should I install /usr/ports/emulators/vmware-guest6d ? It fails
 with not finding vmware-guestd.
 
 - should I install /usr/ports/emulators/vmware-tools6 ? It seems
 it needs vmware-guest6d as a prerequisite.
 
 What else? All documentation I find on the web refers to a
 VMwareTools for FreeBSD, that I could not locate.
 
 Help please.
 
 Olivier

Hi Olivier,

If you want to install the official VMware guest tools for FreeBSD,
check pages 25-26 in this document:
http://www.vmware.com/pdf/vmware-tools-installation-configuration.pdf

If you have any further questions, please reply here and we'll go from
there.

Best of luck,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlGKPtoACgkQ0sRouByUApAhsQCfTH77ZqtdqEpqBNc9brUyUwW8
j/0An3Ho9UW8u+Yp2pTEqnwUzjkiejS1
=r8zT
-END PGP SIGNATURE-
___
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: When will binary packages be back?

2013-04-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/10/13 2:19 PM, Brett Glass wrote:
 Unfortunately, I've never experimented with pkgng, so will have to 
 come up to speed on this. Might be a temporary workaround.
 
 In the meantime, I'm trying to install Apache 2.2 on a small 
 server. So far, just to build the port, the machine has built
 Perl, Python, m4, Berkeley DB, and an incredible assortment of
 other stuff that I do not want or need on that machine! And because
 the make distclean command in the FreeBSD ports system does not 
 remove code for dependencies, I'll have tons of source --
 including GPLed code, which I do not want to touch -- on the
 machine unless I do a painstaking manual search and removal.
 Aaargh!
 
 --Brett Glass

Hi Brett,

Here's an easy way to delete all of the distfiles for a port and its
dependencies:

cd /usr/ports/www/apache22 # Or whatever
make distclean
make all-depends-list | xargs -n1 -I % sh -c cd %  make distclean

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlFlsXoACgkQ0sRouByUApAG1ACaAgxhsxFkWCiD0TTiCcfjBqEk
SVsAoIVnv1XlXlBxwPSIyaRq4gP/kz+d
=uB9B
-END PGP SIGNATURE-
___
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: Error: shared library mysqlclient.18 does not exist

2013-03-12 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:51 PM, Jeff Tipton wrote:
 On 03/12/2013 00:36, Greg Larkin wrote: On 3/11/13 6:21 PM, Jeff
 Tipton wrote:
 On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM,
 Jeff Tipton wrote:
 On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
 On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On
 3/11/13 2:10 PM, Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote:
 On 3/11/13 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia,
 and this is the error message I
 get:
 
 Error: shared library
 mysqlclient.18 does not exist
 
 Of course, the library does exist
 :(
 
 # ls /usr/local/lib/mysql/ 
 libmysqlclient.a
 libmysqlclient_r.a libmysqld.a
 libmysqlclient.so 
 libmysqlclient_r.so
 libmysqlservices.a 
 libmysqlclient.so.18 
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found
 3 things to try but none of that
 was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18



 
/usr/local/lib/libmysqlclient.so.18
 2. Check the root's umask and the 
 directory permissions if they are 
 correct, and they are: # umask 22
 #ll /usr/local/lib |grep mysql
 lrwxr-xr-x   1 root wheel 41 Mar 11
 16:25 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18



 
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total
 27276 -rw-r--r-- 1 root wheel
 4844270 Mar 11 16:17
 libmysqlclient.a lrwxr-xr-x  1
 root wheel 20 Mar 11 16:22
 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x 1
 root wheel 3364688 Mar 11 16:22 
 libmysqlclient.so.18* lrwxr-xr-x  1
 root wheel 16 Mar 11 16:22
 libmysqlclient_r.a@ -
 libmysqlclient.a lrwxr-xr-x  1
 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so@ - 
 libmysqlclient.so lrwxr-xr-x  1
 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so.18@ - 
 libmysqlclient.so -rw-r--r-- 1
 root wheel 20019340 Mar  7 15:08
 libmysqld.a -rw-r--r--  1 root
 wheel 4598 Mar 11 16:17
 libmysqlservices.a drwxr-xr-x  2 
 root  wheel 512 Mar  8 19:01
 plugin/
 
 3. Update the ports tree. Ports
 tree is up to date.
 
 Could someone, please, suggest what
 I could try to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error
 message? Is it when you attempt to run
 the executable built by the port?  If so,
 please run the ldd command against the
 executable and post the output back
 here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The
 Power To Serve
 http://www.sourcehosting.net/ - 
 Ready. Set. Code.
 http://twitter.com/cpucycle/ - Follow
 you, follow me Thank you, Greg, for the
 reply. I get the error message while 
 compiling security/maia port. mysql
 client itself is working ok, I can
 connect to my database server.
 
 ldd output: # ldd /usr/local/bin/mysql 
 /usr/local/bin/mysql: libreadline.so.8
 = /lib/libreadline.so.8 (0x800ab5000)
 libz.so.6 = /lib/libz.so.6 (0x800cf5000)
 libstdc++.so.6 = /usr/lib/libstdc++.so.6
 (0x800f09000) libm.so.5 = /lib/libm.so.5
 (0x801219000) libgcc_s.so.1 =
 /lib/libgcc_s.so.1 (0x80143a000)
 libthr.so.3 = /lib/libthr.so.3 
 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000)
 libncurses.so.8 = /lib/libncurses.so.8
 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output
 where the error message shows up?  If it
 happens during the configure phase of the port
 build, you'll also want to post the end of the
 config.log file found in the port work
 directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and
 previously some build depends were compiled.
 But now the work directory doesn't even get
 created, and the process stops immediately:
 
 /usr/ports/security/maia# make install clean
 === maia-1.0.3.r1575_3 depends on shared
 library: mysqlclient.18 - not found ===
 Verifying install for mysqlclient.18 in 
 /usr/ports/databases/mysql55-client ===
 Returning to build of maia-1.0.3.r1575_3 Error:
 shared library mysqlclient.18 does not exist
 *** [lib-depends] Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your
 ldconfig search path.  To confirm that, please run this
 command and post results back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 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
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth






 
218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
 219:-lmysqlclient.18 = 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 220:-lmysqlclient_r.18 = 
 /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the error message I
 get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a
 libmysqlclient_r.a libmysqld.a libmysqlclient.so
 libmysqlclient_r.solibmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but none of that
 was helpful here:
 
 1. make a link: ln -s /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions if they
 are correct, and they are: # umask 22 #ll /usr/local/lib |grep
 mysql lrwxr-xr-x   1 root  wheel41 Mar 11 16:25
 libmysqlclient.so.18@ - /usr/local/lib/mysql/libmysqlclient.so.18 
 drwxr-xr-x   3 root  wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root  wheel
 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1 root  wheel
 20 Mar 11 16:22 libmysqlclient.so@ - libmysqlclient.so.18 
 -rwxr-xr-x  1 root  wheel   3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel16 Mar 11
 16:22 libmysqlclient_r.a@ - libmysqlclient.a lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22 libmysqlclient_r.so@ - 
 libmysqlclient.so lrwxr-xr-x  1 root  wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--  1 root
 wheel  20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1 root  wheel
 4598 Mar 11 16:17 libmysqlservices.a drwxr-xr-x  2 root  wheel
 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to solve this?
 
 Thanks, Jeff

Hi Jeff,

At what point do you receive the error message?  Is it when you
attempt to run the executable built by the port?  If so, please run
the ldd command against the executable and post the output back here.

Thank you,
Greg


- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+G8kACgkQ0sRouByUApCnLgCgwKZvBM7v60BXemWpG5v3k+IL
A2sAn2+xMhPf4x5bnqt02b+hds1inMUj
=nI5p
-END PGP SIGNATURE-
___
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: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:10 PM, Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM, Jeff
 Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the error
 message I get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a libmysqlclient.so 
 libmysqlclient_r.solibmysqlservices.a
 libmysqlclient.so.18 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but none of
 that was helpful here:
 
 1. make a link: ln -s
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions if
 they are correct, and they are: # umask 22 #ll /usr/local/lib
 |grep mysql lrwxr-xr-x   1 root  wheel41 Mar 11
 16:25 libmysqlclient.so.18@ -
 /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x   3 root
 wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1 root
 wheel 4844270 Mar 11 16:17 libmysqlclient.a lrwxr-xr-x  1
 root  wheel 20 Mar 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x  1 root  wheel   3364688 Mar
 11 16:22 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel
 16 Mar 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22
 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22 libmysqlclient_r.so.18@ -
 libmysqlclient.so -rw-r--r--  1 root wheel  20019340 Mar  7
 15:08 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11 16:17
 libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8 19:01
 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to solve
 this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it when you 
 attempt to run the executable built by the port?  If so, please
 run the ldd command against the executable and post the output back
 here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow me Thank
 you, Greg, for the reply. I get the error message while compiling 
 security/maia port. mysql client itself is working ok, I can
 connect to my database server.
 
 ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: 
 libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000) libz.so.6
 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 =
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = /lib/libm.so.5
 (0x801219000) libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x80143a000) 
 libthr.so.3 = /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 

Hi Jeff,

Can you post the relevant bits of build output where the error message
shows up?  If it happens during the configure phase of the port build,
you'll also want to post the end of the config.log file found in the
port work directory.

Thank you,
Greg


- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+IxoACgkQ0sRouByUApB5XQCfcFo9nRCtFzuWJB/yg7tB6W6O
h5MAnAqKEtOUuCwqlf0+HM5GSifo6PAk
=drjz
-END PGP SIGNATURE-
___
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: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM, Jeff
 Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13 12:59 PM,
 Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is the
 error message I get:
 
 Error: shared library mysqlclient.18 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a libmysqlclient.so 
 libmysqlclient_r.solibmysqlservices.a 
 libmysqlclient.so.18 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try but
 none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory permissions
 if they are correct, and they are: # umask 22 #ll
 /usr/local/lib |grep mysql lrwxr-xr-x   1 root  wheel
 41 Mar 11 16:25 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18 drwxr-xr-x
 3 root wheel   512 Mar 11 16:22 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--  1
 root wheel 4844270 Mar 11 16:17 libmysqlclient.a
 lrwxr-xr-x  1 root  wheel 20 Mar 11 16:22
 libmysqlclient.so@ - libmysqlclient.so.18 -rwxr-xr-x
 1 root  wheel   3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root  wheel 16 Mar
 11 16:22 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so@ - libmysqlclient.so lrwxr-xr-x  1
 root wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - libmysqlclient.so -rw-r--r--
 1 root wheel  20019340 Mar  7 15:08 libmysqld.a
 -rw-r--r--  1 root  wheel 4598 Mar 11 16:17 
 libmysqlservices.a drwxr-xr-x  2 root  wheel 512 Mar  8
 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to date.
 
 Could someone, please, suggest what I could try to
 solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it when
 you attempt to run the executable built by the port?  If so,
 please run the ldd command against the executable and post
 the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow me
 Thank you, Greg, for the reply. I get the error message while
 compiling security/maia port. mysql client itself is working
 ok, I can connect to my database server.
 
 ldd output: # ldd /usr/local/bin/mysql /usr/local/bin/mysql: 
 libreadline.so.8 = /lib/libreadline.so.8 (0x800ab5000)
 libz.so.6 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 =
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 =
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 =
 /lib/libthr.so.3 (0x801647000) libc.so.7 = /lib/libc.so.7
 (0x801869000) libncurses.so.8 = /lib/libncurses.so.8
 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the error
 message shows up?  If it happens during the configure phase of the
 port build, you'll also want to post the end of the config.log file
 found in the port work directory.
 
 Thank you, Greg
 
 

 I tried to run make several times, and previously some build
 depends were compiled. But now the work directory doesn't even
 get created, and the process stops immediately:
 
 /usr/ports/security/maia# make install clean ===
 maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18 - not
 found ===Verifying install for mysqlclient.18 in 
 /usr/ports/databases/mysql55-client ===   Returning to build of
 maia-1.0.3.r1575_3 Error: shared library mysqlclient.18 does not
 exist *** [lib-depends] Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 

Ok, it looks like something is messed up with your ldconfig search
path.  To confirm that, please run this command and post results back
here:

ldconfig -r| grep mysql

Thank you,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlE+KdEACgkQ0sRouByUApBP3gCfalFeDTMflaCy+vnF3FMoTht8
+8sAn0oZBRgUlryNk21zzYZ0KMJYsGER
=3LRY
-END PGP SIGNATURE-
___
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: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 3:34 PM, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote: On 3/11/13 2:47 PM, Jeff
 Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
 Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is
 the error message I get:
 
 Error: shared library mysqlclient.18 does not
 exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a
 libmysqlclient.so libmysqlclient_r.so
 libmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to try
 but none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory
 permissions if they are correct, and they are: #
 umask 22 #ll /usr/local/lib |grep mysql
 lrwxr-xr-x   1 root  wheel 41 Mar 11 16:25
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18
 drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 -rw-r--r--
 1 root wheel 4844270 Mar 11 16:17
 libmysqlclient.a lrwxr-xr-x  1 root  wheel 20 Mar
 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
 3364688 Mar 11 16:22 libmysqlclient.so.18*
 lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so@ - libmysqlclient.so
 lrwxr-xr-x  1 root wheel17 Mar 11 16:22 
 libmysqlclient_r.so.18@ - libmysqlclient.so
 -rw-r--r-- 1 root wheel  20019340 Mar  7 15:08
 libmysqld.a -rw-r--r--  1 root  wheel 4598 Mar 11
 16:17 libmysqlservices.a drwxr-xr-x  2 root
 wheel 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to
 date.
 
 Could someone, please, suggest what I could try
 to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is it
 when you attempt to run the executable built by the
 port?  If so, please run the ldd command against the
 executable and post the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To Serve 
 http://www.sourcehosting.net/ - Ready. Set. Code. 
 http://twitter.com/cpucycle/  - Follow you, follow
 me Thank you, Greg, for the reply. I get the error
 message while compiling security/maia port. mysql
 client itself is working ok, I can connect to my
 database server.
 
 ldd output: # ldd /usr/local/bin/mysql
 /usr/local/bin/mysql: libreadline.so.8 =
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
 /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = 
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = 
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = 
 /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the
 error message shows up?  If it happens during the configure
 phase of the port build, you'll also want to post the end of
 the config.log file found in the port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously some
 build depends were compiled. But now the work directory
 doesn't even get created, and the process stops immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library: mysqlclient.18
 - not found ===Verifying install for mysqlclient.18 in 
 /usr/ports/databases/mysql55-client ===   Returning to build
 of maia-1.0.3.r1575_3 Error: shared library mysqlclient.18
 does not exist *** [lib-depends] Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig search 
 path.  To confirm that, please run this command and post results
 back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 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
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth

  218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18 
 219:-lmysqlclient.18 = /usr/local/lib/mysql/libmysqlclient.so.18 
 220:-lmysqlclient_r.18 =
 /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The versions
 are: mysql-client-5.5.30 mysql-server-5.5.30
 

Ok, here's a last ditch attempt to see exactly why the code in
bsd.port.mk is failing to find that shlib on your

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 5:42 PM, Jeff Tipton wrote:
 On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
 On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13 2:10 PM,
 Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On 3/11/13
 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and this is
 the error message I get:
 
 Error: shared library mysqlclient.18 does not
 exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/ libmysqlclient.a 
 libmysqlclient_r.a libmysqld.a
 libmysqlclient.so libmysqlclient_r.so
 libmysqlservices.a libmysqlclient.so.18
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3 things to
 try but none of that was helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18 
 /usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the directory
 permissions if they are correct, and they are:
 # umask 22 #ll /usr/local/lib |grep mysql
 lrwxr-xr-x   1 root wheel 41 Mar 11 16:25
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18
 drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276
 -rw-r--r-- 1 root wheel 4844270 Mar 11 16:17
 libmysqlclient.a lrwxr-xr-x  1 root  wheel 20
 Mar 11 16:22 libmysqlclient.so@ -
 libmysqlclient.so.18 -rwxr-xr-x 1 root  wheel
 3364688 Mar 11 16:22 libmysqlclient.so.18*
 lrwxr-xr-x  1 root  wheel 16 Mar 11 16:22
 libmysqlclient_r.a@ - libmysqlclient.a 
 lrwxr-xr-x  1 root wheel17 Mar 11
 16:22 libmysqlclient_r.so@ - libmysqlclient.so
 lrwxr-xr-x  1 root wheel17 Mar 11
 16:22 libmysqlclient_r.so.18@ -
 libmysqlclient.so -rw-r--r-- 1 root wheel
 20019340 Mar  7 15:08 libmysqld.a -rw-r--r--  1
 root  wheel 4598 Mar 11 16:17 
 libmysqlservices.a drwxr-xr-x  2 root  wheel
 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is up to
 date.
 
 Could someone, please, suggest what I could try
 to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?  Is
 it when you attempt to run the executable built by
 the port?  If so, please run the ldd command against
 the executable and post the output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power To
 Serve http://www.sourcehosting.net/ - Ready. Set.
 Code. http://twitter.com/cpucycle/  - Follow you,
 follow me Thank you, Greg, for the reply. I get the
 error message while compiling security/maia port.
 mysql client itself is working ok, I can connect to
 my database server.
 
 ldd output: # ldd /usr/local/bin/mysql
 /usr/local/bin/mysql: libreadline.so.8 =
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6 =
 /lib/libz.so.6 (0x800cf5000) libstdc++.so.6 = 
 /usr/lib/libstdc++.so.6 (0x800f09000) libm.so.5 = 
 /lib/libm.so.5 (0x801219000) libgcc_s.so.1 = 
 /lib/libgcc_s.so.1 (0x80143a000) libthr.so.3 = 
 /lib/libthr.so.3 (0x801647000) libc.so.7 =
 /lib/libc.so.7 (0x801869000) libncurses.so.8 =
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where the
 error message shows up?  If it happens during the configure
 phase of the port build, you'll also want to post the end
 of the config.log file found in the port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously some
 build depends were compiled. But now the work directory
 doesn't even get created, and the process stops
 immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library:
 mysqlclient.18 - not found ===Verifying install for
 mysqlclient.18 in /usr/ports/databases/mysql55-client ===
 Returning to build of maia-1.0.3.r1575_3 Error: shared
 library mysqlclient.18 does not exist *** [lib-depends]
 Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig search 
 path.  To confirm that, please run this command and post results
 back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 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
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth


 
218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
 219:-lmysqlclient.18 =
 /usr/local/lib/mysql/libmysqlclient.so.18 220:-lmysqlclient_r.18
 = /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The versions
 are: mysql-client-5.5.30 mysql-server-5.5.30
 
 ___ 
 freebsd-questions@freebsd.org

Re: Error: shared library mysqlclient.18 does not exist

2013-03-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/11/13 6:21 PM, Jeff Tipton wrote:
 On 03/12/2013 00:07, Greg Larkin wrote: On 3/11/13 5:42 PM, Jeff
 Tipton wrote:
 On 03/11/2013 21:34, Jeff Tipton wrote:
 On 03/11/2013 21:00, Greg Larkin wrote:
 On 3/11/13 2:47 PM, Jeff Tipton wrote:
 On 03/11/2013 20:31, Greg Larkin wrote: On 3/11/13
 2:10 PM, Jeff Tipton wrote:
 On 03/11/2013 20:00, Greg Larkin wrote: On
 3/11/13 12:59 PM, Jeff Tipton wrote:
 Hi,
 
 I'm trying to set up security/maia, and
 this is the error message I get:
 
 Error: shared library mysqlclient.18
 does not exist
 
 Of course, the library does exist :(
 
 # ls /usr/local/lib/mysql/
 libmysqlclient.a libmysqlclient_r.a
 libmysqld.a libmysqlclient.so
 libmysqlclient_r.so libmysqlservices.a
 libmysqlclient.so.18 
 libmysqlclient_r.so.18 plugin
 
 I googled about this, and I found 3
 things to try but none of that was
 helpful here:
 
 1. make a link: ln -s 
 /usr/local/lib/mysql/libmysqlclient.so.18

 
/usr/local/lib/libmysqlclient.so.18
 
 2. Check the root's umask and the
 directory permissions if they are
 correct, and they are: # umask 22 #ll
 /usr/local/lib |grep mysql lrwxr-xr-x   1
 root wheel 41 Mar 11 16:25 
 libmysqlclient.so.18@ - 
 /usr/local/lib/mysql/libmysqlclient.so.18

 
drwxr-xr-x 3 root wheel   512 Mar 11 16:22
 mysql/
 
 # ll /usr/local/lib/mysql/ total 27276 
 -rw-r--r-- 1 root wheel 4844270 Mar 11
 16:17 libmysqlclient.a lrwxr-xr-x  1 root
 wheel 20 Mar 11 16:22 libmysqlclient.so@
 - libmysqlclient.so.18 -rwxr-xr-x 1 root
 wheel 3364688 Mar 11 16:22
 libmysqlclient.so.18* lrwxr-xr-x  1 root
 wheel 16 Mar 11 16:22 libmysqlclient_r.a@
 - libmysqlclient.a lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22
 libmysqlclient_r.so@ -
 libmysqlclient.so lrwxr-xr-x  1 root
 wheel17 Mar 11 16:22
 libmysqlclient_r.so.18@ - 
 libmysqlclient.so -rw-r--r-- 1 root
 wheel 20019340 Mar  7 15:08 libmysqld.a
 -rw-r--r--  1 root  wheel 4598 Mar 11
 16:17 libmysqlservices.a drwxr-xr-x  2
 root  wheel 512 Mar  8 19:01 plugin/
 
 3. Update the ports tree. Ports tree is
 up to date.
 
 Could someone, please, suggest what I
 could try to solve this?
 
 Thanks, Jeff
 Hi Jeff,
 
 At what point do you receive the error message?
 Is it when you attempt to run the executable
 built by the port?  If so, please run the ldd
 command against the executable and post the
 output back here.
 
 Thank you, Greg
 
 
 -- Greg Larkin
 
 http://www.FreeBSD.org/   - The Power
 To Serve http://www.sourcehosting.net/ -
 Ready. Set. Code. http://twitter.com/cpucycle/
 - Follow you, follow me Thank you, Greg, for
 the reply. I get the error message while
 compiling security/maia port. mysql client
 itself is working ok, I can connect to my
 database server.
 
 ldd output: # ldd /usr/local/bin/mysql 
 /usr/local/bin/mysql: libreadline.so.8 = 
 /lib/libreadline.so.8 (0x800ab5000) libz.so.6
 = /lib/libz.so.6 (0x800cf5000) libstdc++.so.6
 = /usr/lib/libstdc++.so.6 (0x800f09000)
 libm.so.5 = /lib/libm.so.5 (0x801219000)
 libgcc_s.so.1 = /lib/libgcc_s.so.1
 (0x80143a000) libthr.so.3 = /lib/libthr.so.3
 (0x801647000) libc.so.7 = /lib/libc.so.7
 (0x801869000) libncurses.so.8 = 
 /lib/libncurses.so.8 (0x801bbc000)
 
 Hi Jeff,
 
 Can you post the relevant bits of build output where
 the error message shows up?  If it happens during the
 configure phase of the port build, you'll also want
 to post the end of the config.log file found in the
 port work directory.
 
 Thank you, Greg
 
 
 I tried to run make several times, and previously
 some build depends were compiled. But now the work
 directory doesn't even get created, and the process
 stops immediately:
 
 /usr/ports/security/maia# make install clean === 
 maia-1.0.3.r1575_3 depends on shared library: 
 mysqlclient.18 - not found ===Verifying install
 for mysqlclient.18 in
 /usr/ports/databases/mysql55-client === Returning to
 build of maia-1.0.3.r1575_3 Error: shared library
 mysqlclient.18 does not exist *** [lib-depends] 
 Error code 1
 
 Stop in /basejail/usr/ports/security/maia. 
 /usr/ports/security/maia#
 
 
 Ok, it looks like something is messed up with your ldconfig
 search path.  To confirm that, please run this command and
 post results back here:
 
 ldconfig -r| grep mysql
 
 Thank you, Greg
 ___ 
 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
 # ldconfig -r| grep mysql search directories: 
 /lib:/usr/lib:/usr/lib/compat:/usr/local/lib:/usr/local/lib/dovecot:/usr/local/lib/mysql:/usr/local/lib/pth





 
218:-lmysqlclient.18 = /usr/local/lib/libmysqlclient.so.18
 219:-lmysqlclient.18 = 
 /usr/local/lib/mysql/libmysqlclient.so.18
 220:-lmysqlclient_r.18 =
 /usr/local/lib/mysql/libmysqlclient_r.so.18
 
 I installed both mysql client and server from ports. The
 versions are: mysql-client-5.5.30 mysql-server

Re: Restricting Periodic Scripts

2013-02-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/6/13 12:26 PM, Tim Gustafson wrote:
 I have a FreeBSD ZFS file server with tens of millions of files
 stored on it.
 
 But, the daily periodic scripts like 
 /etc/periodic/security/110.neggrpperm and 
 /etc/periodic/weekly/310.locate take hours iterating through those 
 folders, and I just don't need them to be scanned.
 
 I see that I can edit /etc/locate.rc to fix the behavior for 
 /etc/periodic/weekly/310.locate but I don't see a way to exclude 
 folders from other scripts like
 /etc/periodic/security/110.neggrpperm from scanning them.  Is there
 any way to prune out folders that I don't want scanned, or should I
 just disable those jobs?
 

Hi Tim,

Have a look at this posting from 2012:
http://forums.freebsd.org/archive/index.php/t-31846.html

There is a patch for the script in there, but I didn't check to see if
the author ever filed a PR.  There's also a workaround that involves
using the nosuid mount option, if that is acceptable in your environment.

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlESmkAACgkQ0sRouByUApB2kgCfalTZRa5GQlAZjcNXq5qxfA3e
2rwAoLCMoscJYLVuevYLjZGj9qYiIjZD
=3yUC
-END PGP SIGNATURE-
___
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: svn-export Re: svn bdb checkout?

2013-01-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/24/13 5:16 PM, Xyne wrote:
 Greg Larkin wrote:
 
 Hi Xyne,
 
 Thanks for turning that around so quickly, and I am doing some
 testing here with the idea to incorporate svn-export into the
 FreeBSD ports tree.
 
 I've run into a couple of problems that I hope you can take a
 look at it:
 
 - - Changesets containing directory or file deletions cause the
 script to exit.  Here is an example where I fetched the FreeBSD
 ports tree at a particular revision, then attempted to update to
 the latest revision:
 
 # python3 svn-export --revision-file foo2.dat 
 http://svn.freebsd.org/head/ports-mgmt ports-mgmt Determining
 current revision. Current revision is 310894. Determining changes
 [31:310894]. 16 new/modified files, 5 deletions Traceback
 (most recent call last): File svn-export, line 407, in
 module svn.main() File svn-export, line 380, in main 
 self.remove_old_files(deleted) File svn-export, line 302, in
 remove_old_files os.unlink(path) PermissionError: [Errno 1]
 Operation not permitted: 'ports-mgmt/pkg/files'
 
 - - I can't get the --to-script option to work if there are any 
 file/directory deletions in the changeset.  It looks like the
 actual deletion operations are attempted (like above) even when
 the - --to-script option is selected.
 
 Let me know if you need any other information.
 
 Thank you, Greg
 
 
 Hi,
 
 I think I have fixed both errors in svn-export-2013.1.24, along
 with another directory-related error that I discovered while
 debugging (attempts to cat new directories in incremental exports
 instead of recursing them). Please try again and let me know if it
 works.
 
 If not, please post steps to reproduce the error with a publicly
 accessible repo. I was unable to access the ports-mgmt repos in
 your example.

Hi Xyne,

I mistyped the repository URL in my previous email, and I just
captured a session that displays an error similar to the one above.
Note that I pre-seeded the environment with a rev.dat file containing
the string 31.  I did that to simulate an incremental fetch, as
you'll see here:

# python3 svn-export -r 31
http://svn.freebsd.org/ports/head/ports-mgmt ports-mgmt
Exporting new repository.
Exported revision 31
# python3 svn-export --revision-file rev.dat
http://svn.freebsd.org/ports/head/ports-mgmt ports-mgmt
Determining current revision.
Current revision is 310981.
Determining changes [31:310981].
16 new/modified files, 5 deletions
Traceback (most recent call last):
  File svn-export, line 459, in module
svn.main()
  File svn-export, line 432, in main
self.remove_old_files(deleted)
  File svn-export, line 310, in remove_old_files
os.unlink(path)
PermissionError: [Errno 1] Operation not permitted: 'ports-mgmt/pkg/files'
# exit

As far as I can tell, svn-export attempts to remove a directory before
the file contained within that directory.  It seems like
PermissionError isn't the best error code for Python to throw in that
case, since it appears to mask the root problem.

Can you re-order the deletes so all files are deleted first, then
directories are deleted in a bottom-up sequence?  I think that will
solve this problem.

 
 Incidentally, if anyone is looking at the code for svn-export, feel
 free to suggest a better way to incrementally export new
 subdirectories (see the get_new_files() method).

I'll take a look at that soon to see if there are any possible
optimizations.

 
 Incidentally, my release scripts do not leave old source archives
 on the server for very long after a new release and I tend to
 update often when I can. If you need me to increase the shelf life
 of old archives to prevent 404's, let me know (give me a reasonable
 interval and I will update my scripts). In the future I may switch
 to posting my private Git repos, but I tend to rewrite history and
 I know that really irks people.
 
 Regards, Xyne
 

Once we create a port for svn-export, we typically point to the
original download site in the port Makefile.  It's a good idea for the
port maintainer to find a mirror site and include that too, but if
not, all distro files are eventually mirrored to the FreeBSD cluster.

Ideally, the source distros remain in place forever or at least until
the FreeBSD port is updated to the latest version, but if that's not
possible, I can mirror the files too.

Thank you,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlECp3EACgkQ0sRouByUApDo2gCfRLq1/7Cl40y7GDShUOamQTMr
aqQAn0IPLS/nkcyjOadEA3cKzuoDc0Wp
=3JN4
-END PGP SIGNATURE-
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe

Re: svn-export Re: svn bdb checkout?

2013-01-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/25/13 1:53 PM, Xyne wrote:
 Greg Larkin wrote:
 
 # python3 svn-export -r 31 
 http://svn.freebsd.org/ports/head/ports-mgmt ports-mgmt Exporting
 new repository. Exported revision 31 # python3 svn-export
 --revision-file rev.dat 
 http://svn.freebsd.org/ports/head/ports-mgmt ports-mgmt 
 Determining current revision. Current revision is 310981. 
 Determining changes [31:310981]. 16 new/modified files, 5
 deletions Traceback (most recent call last): File svn-export,
 line 459, in module svn.main() File svn-export, line 432, in
 main self.remove_old_files(deleted) File svn-export, line 310,
 in remove_old_files os.unlink(path) PermissionError: [Errno 1]
 Operation not permitted: 'ports-mgmt/pkg/files' # exit
 
 As far as I can tell, svn-export attempts to remove a directory
 before the file contained within that directory.  It seems like 
 PermissionError isn't the best error code for Python to throw in
 that case, since it appears to mask the root problem.
 
 On Arch Linux, Python raises the expected IsADirectoryError
 exception. Perhaps PermissionError is due to a bug in Python 3 on
 FreeBSD. It would not be the first exception bug that I have
 encountered (e.g. os.makedirs(..., exist_ok=True) raises
 FileExists when permissions differ on existing directories...
 very confusing the first time it shows up).
 
 Regardless, svn-export now tries to remove a directory in both
 cases. Please updated to version 2013.1.25 and let me know if it
 works on FreeBSD.

Yes, it does work on FreeBSD now, but I suggest investigating whether
it's possible to reorder the removal list with files first, then
directories.  That way, you won't have to rely on an exception to
determine if a directory to be removed is not empty yet.

The os.walk() method looks like it would be useful here:
http://docs.python.org/3/library/os.html?highlight=os.walk#os.walk

 
 
 Incidentally, if anyone is looking at the code for svn-export,
 feel free to suggest a better way to incrementally export new 
 subdirectories (see the get_new_files() method).
 
 I'll take a look at that soon to see if there are any possible 
 optimizations.
 
 Ok, thanks.

I looked at the method, and my first idea was to svn cat as many
files at once as possible, up to the maximum command line length.  You
will avoid spawning a lot of svn processes and opening new network
connections each time.  If the threads option is 1, you could divide
the maximum command line length by that number and keep filling in
filenames up to that limit in each child process.

I expect you would also get a nice performance boost if you changed
from spawning svn commands to the Python SVN bindings.  Here's an
example of how it works:
http://svn.apache.org/repos/asf/subversion/trunk/tools/examples/getfile.py

 
 
 Once we create a port for svn-export, we typically point to the 
 original download site in the port Makefile.  It's a good idea
 for the port maintainer to find a mirror site and include that
 too, but if not, all distro files are eventually mirrored to the
 FreeBSD cluster.
 
 Ideally, the source distros remain in place forever or at least
 until the FreeBSD port is updated to the latest version, but if
 that's not possible, I can mirror the files too.
 
 I have changed the time-to-live to 6 months for old archives.

Excellent, thank you.

Hope that all helps,
Greg

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEC/ooACgkQ0sRouByUApCa0wCfQr4rIT9oQrI3LkYPlMGbfCnj
KqoAniabxFC2xeNAzvdLHLYhXhxYs1xi
=cfUS
-END PGP SIGNATURE-
___
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: 'svn-export' incrementing?

2013-01-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/24/13 4:54 PM, Xyne wrote:
 Greg Larkin wrote:
 
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 1/22/13 8:29 PM, Peter Vereshagin wrote:
 Hello.
 
 I use the 'svn-export this way and expect it will try to
 update the 'work-tree' next time I run it:
 
 $ python3 svn-export-2013.1/svn-export 
 http://svn.gna.org/svn/nasmail/trunk nasmail Exporting new 
 repository. Exported revision 1546 [portato@screwed /tmp]$ ls
 -a nasmail .   decode  plugin_pack
 tests utilities ..  nasmail plugins 
 translations [portato@screwed /tmp]$ python3 
 svn-export-2013.1/svn-export
 http://svn.gna.org/svn/nasmail/trunk nasmail Exporting new
 repository. svn: E155000: Destination directory exists; please
 remove the directory or use --force to overwrite svn: E155000:
 'nasmail' already exists error: Command '['svn', 'export',
 '-r', 'HEAD', 'http://svn.gna.org/svn/nasmail/trunk',
 'nasmail']' returned non-zero exit status 1
 
 I believe there is something wrong in the way I use the 
 'svn-export'. Otherwise it's a no problem for me to patch for 
 '--force'.
 
 How can I update the already created 'work tree' with 'svn
 update'? I think the correct answer is a good idea for
 'Synopsis' docs section.
 
 
 Hi Peter,
 
 In order for svn-export to work in incremental mode, you need to
 use the --revision-file argument like so:
 
 python3 svn-export-2013.1/svn-export -r rev.dat 
 http://svn.gna.org/svn/nasmail/trunk nasmail
 
 Then at some point in the future, run the same command.
 svn-export will read rev.dat, compare the version in there with
 the current HEAD revision.  If they are different, the script
 creates a diff and applies it to the local directory.
 
 Hope that helps, Greg
 
 Hi,
 
 The explanation is correct but the command example is not. It
 should be
 
 svn-export --revision-file rev.dat ...
 
 The reason for this is that svn-export does not include any SVN
 data with the exported files so it has no way to determine what the
 currently exported revision is from the directory alone. You could
 manually run
 
 svn-export -r local revision:HEAD ...
 
 but it would be tedious. The --revision-file option automates
 this by storing the local export's revision number in a file. It is
 used to determine which revision to diff against. Essentially it is
 the same as running
 
 svn-export -r $(cat rev.dat):...
 
 I hope this clears things up.
 
 Regards, Xyne
 

Hi Xyne,

Thanks for catching that.  I had intended to write --revision-file,
but PEBKAC took over!

Cheers,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEBz5oACgkQ0sRouByUApBHUACeP/a83cmkE2EUn2rRL1b1MfaR
8sYAn3ycyyi2wfT2fFEp2KYkMR4V8OCu
=SY/z
-END PGP SIGNATURE-
___
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: creating new user account password.

2013-01-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/23/13 3:06 PM, Fbsd8 wrote:
 I know I can create a new user account having a password same as
 the user name. After logging in the first time using the user
 account name as the password, I want to force the user to create a
 new password. Is there a way to do that?


This looks like it will help: http://www.itedit.com/blog/?p=34

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEAR2QACgkQ0sRouByUApDN/QCgh9B23vgN7bv9otoKnt3t8dqW
30QAoLsdUgTRl6Fx0N5wEdcGZ/of3LUi
=1n+g
-END PGP SIGNATURE-
___
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: 'svn-export' incrementing?

2013-01-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/22/13 8:29 PM, Peter Vereshagin wrote:
 Hello.
 
 I use the 'svn-export this way and expect it will try to update
 the 'work-tree' next time I run it:
 
 $ python3 svn-export-2013.1/svn-export
 http://svn.gna.org/svn/nasmail/trunk nasmail Exporting new
 repository. Exported revision 1546 [portato@screwed /tmp]$ ls -a
 nasmail .   decode  plugin_pack tests
 utilities ..  nasmail plugins
 translations [portato@screwed /tmp]$ python3
 svn-export-2013.1/svn-export http://svn.gna.org/svn/nasmail/trunk
 nasmail Exporting new repository. svn: E155000: Destination
 directory exists; please remove the directory or use --force to
 overwrite svn: E155000: 'nasmail' already exists error: Command
 '['svn', 'export', '-r', 'HEAD',
 'http://svn.gna.org/svn/nasmail/trunk', 'nasmail']' returned
 non-zero exit status 1
 
 I believe there is something wrong in the way I use the
 'svn-export'. Otherwise it's a no problem for me to patch for
 '--force'.
 
 How can I update the already created 'work tree' with 'svn update'?
 I think the correct answer is a good idea for 'Synopsis' docs
 section.
 

Hi Peter,

In order for svn-export to work in incremental mode, you need to use
the --revision-file argument like so:

python3 svn-export-2013.1/svn-export -r rev.dat
http://svn.gna.org/svn/nasmail/trunk nasmail

Then at some point in the future, run the same command.  svn-export
will read rev.dat, compare the version in there with the current HEAD
revision.  If they are different, the script creates a diff and
applies it to the local directory.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEATAIACgkQ0sRouByUApDBCgCgthHZtPIKq332sNIa7gyxnt/9
BcMAn2aXoD0niPr90A/r+etu0HD7XYxG
=tpL9
-END PGP SIGNATURE-
___
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: help with SVN needed {slightly off-topic}

2013-01-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/20/13 6:55 PM, Gary Kline wrote:
 
 
[...]
 the part I need help with is Subversion.  I used CVS about 15 years
  ago, and svn looks slightly familiar.  the project on google.code 
 are looking for me to use svn to install my base files.  I think; 
 not sure.  on my desktop here I have one development directory for 
 all my source files.  I have subversion installed here.  briefly: 
 what now?
 
 do I create a svn directory here? or do I ftp/scp/?? things to
 the voice-by-computer account to the google.code project? thanks
 for any help.
 
 gary
[...]

Hi Gary,

This will help you get started importing your code into the Google
repository: http://svnbook.red-bean.com/en/1.7/svn.tour.importing.html

After that, you'll find answers to most other questions here:
http://svnbook.red-bean.com/en/1.7/index.html

Best regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD9qTQACgkQ0sRouByUApAMcwCfU3foxCGbu9bxwynYcWD/Kh3M
Uo4An2L+nWg0FuamEMayMhp/JTfMJR3f
=tYmv
-END PGP SIGNATURE-
___
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: svn bdb checkout?

2013-01-16 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/16/13 3:07 PM, Peter Vereshagin wrote:
 Hello.
 
 2013/01/16 13:51:42 -0600 Joseph A. Nagy, Jr 
 jnagyjr1...@gmail.com = To Peter Vereshagin : JANJ On 01/16/13 
 13:35, Peter Vereshagin wrote: JANJ  2013/01/16 13:19:19 -0600 
 Joseph A. Nagy, Jr jnagyjr1...@gmail.com = To Peter
 Vereshagin : JANJ  JANJ On 01/16/13 12:58, Peter Vereshagin
 wrote: JANJ  JANJ  Hello. JANJ  JANJ  JANJ  JANJ  By
 far the 'portsnap' has a lag from svn. I think firefox-18.0,1
 update was JANJ  JANJ  late at 4 days at the least, for
 instance. JANJ  JANJ  JANJ  JANJ  Thus I'd like to move to
 svn for base and ports. JANJ  JANJ snip JANJ  JANJ JANJ 
 JANJ Have you read the handbook? JANJ  JANJ JANJ  JANJ 
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html


 
JANJ 
 JANJ   ... JANJ  JANJ  ? JANJ  JANJ  | grep -i bdb | wc 
 -l JANJ  JANJ  0 JANJ  JANJ  Over again: How could I 'svn 
 checkout' the sources without those '.svn' JANJ  subdirectories 
 in the each and every repo's subdirectories? JANJ  JANJ  Thank 
 you. JANJ JANJ As far as I know, you don't. It is part of how
 svn works. Those folders JANJ tell svn that they are controlled
 by svn.
 
 This is for the case of the svn's 'fsfs' backend.
 
 There is the different backend, the 'bdb' one that keeps data not 
 in the '.svn' subdirectories but in the 'bdb' format and it's the 
 repository(-ies) -wide single database with its single file system 
 location.

The fsfs and bdb backends refer only to the server side of the
Subversion repository.  Each one represents a different way of storing
the repository data on the server side and doesn't have any bearing on
the .svn directory inside of a client-side working copy.

Also note that in earlier versions of the Subversion client, .svn
directories were created at all levels of the working copy.  Since
1.7, there is one .svn directory per working copy, but that doesn't
have anything to do with the backend repository format.

 
 JANJ Deleting the .svn folder removes subversion control of that 
 folder[0].. JANJ You can learn more, it seems, here[1].
 
 No, I do not want to delete the '.svn' directories but I want them 
 to not to be created at all, like it was created with 'svnadmin 
 create --fs-type bdb' but as a resuit of a checkout.

Reiterating - bdb (or fsfs) on the server side has nothing to do with
the presence or absence of the .svn directory in a working copy on the
client side.

 
 There was someone here arguing about 'fossil' that (s)he updates 
 from the freebsd  repositories into the 'bdb'- backend'ed  svn 
 repo, I'd like to know a way to 'svn checkout' like this at first.
 
 Thank you.

Please see my message from a similar thread a few months ago for a
possible solution:
http://permalink.gmane.org/gmane.os.freebsd.questions/294398

In short, svn export is the way to pull source code out of a
Subversion repository with the .svn directory.  However, that command
cannot be used repeatedly to update the same directory tree, but the
svn-export wrapper script mentioned in the thread above aims to do
that.  I still have not researched that tool to see if it works as
advertised or not.

If anyone wants to create a port for svn-export and send it my way for
review, I would be happy to do that.  Otherwise, I expect to have a
look myself within the next few months.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD3DGAACgkQ0sRouByUApD7/ACeIZodWqsQS+vU2zU4WY/eTOTS
l1wAn14kbyP3feudZvG3bt7d8pbJrSd0
=BDjD
-END PGP SIGNATURE-
___
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: svn-export Re: svn bdb checkout?

2013-01-16 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/16/13 3:55 PM, Peter Vereshagin wrote:
 Hello.
 
 2013/01/16 15:24:00 -0500 Greg Larkin glar...@freebsd.org = To
 Peter Vereshagin : GL On 1/16/13 3:07 PM, Peter Vereshagin wrote: 
 GL  2013/01/16 13:51:42 -0600 Joseph A. Nagy, Jr GL 
 jnagyjr1...@gmail.com = To Peter Vereshagin : JANJ On 01/16/13
  GL  13:35, Peter Vereshagin wrote: JANJ  2013/01/16 13:19:19
 -0600 GL The fsfs and bdb backends refer only to the server side
 of the GL Subversion repository.  Each one represents a different
 way of storing
 
 Ouch! there's the difference that Git made me to forget about,
 sorry.
 
 GL the repository data on the server side and doesn't have any
 bearing on GL the .svn directory inside of a client-side working
 copy. GL GL Also note that in earlier versions of the Subversion
 client, .svn GL directories were created at all levels of the
 working copy.  Since GL 1.7, there is one .svn directory per
 working copy, but that doesn't GL have anything to do with the
 backend repository format.
 
 Cool. Heard it but was googled into the wrong direction.
 
 GL In short, svn export is the way to pull source code out of a 
 GL Subversion repository with the .svn directory.  However, that
 command
 
 Will try.  Stuck with:
 
 $ xz -d svn-export-2012.12.24.1.tar.xz xz:
 svn-export-2012.12.24.1.tar.xz: File format not recognized
 
 Shall I update from 'xz-4.999.9_1' then?

I checked it with xz 5.0.0 on a FreeBSD 8.3 machine here, and I could
decompress like so:

# xz -d -c svn-export-2012.12.24.1.tar.xz | tar tvfB -
drwxrwxr-x  0 root   root0 Dec 24 12:57 svn-export-2012.12.24.1/
- -rw-rw-r--  0 root   root17972 Dec 24 12:57
svn-export-2012.12.24.1/COPYING
drwxrwxr-x  0 root   root0 Dec 24 12:57
svn-export-2012.12.24.1/man.md/
- -rw-rw-r--  0 root   root 1350 Dec 24 12:57
svn-export-2012.12.24.1/man.md/svn-export.1.md
- -rwxrwxr-x  0 root   root 6482 Dec 24 12:57
svn-export-2012.12.24.1/svn-export
drwxr-xr-x  0 xyne   mx  0 Dec 23 22:48
svn-export-2012.12.24.1/man/
- -rw-r--r--  0 xyne   mx771 Feb 17  2012
svn-export-2012.12.24.1/man/svn-export.1.gz
# xz --version
xz (XZ Utils) 5.0.0
liblzma 5.0.0

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD3HC0ACgkQ0sRouByUApARsQCdGD503bA3t4PFzdsjhsD8UrSE
6I4An0vhcLUNUz86Kj/FNklKPGjEvTNC
=xIoS
-END PGP SIGNATURE-
___
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: assigning values to variables in the background

2013-01-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/15/13 12:42 PM, Nikos Vassiliadis wrote:
 Hi,
 
 A bit of an OT question. I am writing a bourne shell script that 
 collects data from a router. Since netstat  vmstat can run for a
 numbers of iterations I thought I would use just that:
 
 stats() ( nstats=`netstat -I ng0 -q 1 60 | tail -1`  
 rawdata=`vmstat -c 2 60 | tail -1` wait ...
 
 The logic was: 1. run the first process in the bg 2. run the second
 process 3. wait to make sure the first process has finished 4.
 continue further
 
 It makes perfect sense why this doesn't work. Both commands run in
 the foreground.
 
 I am going to split the time between netstat and vmstat. So, it 
 will be 30 seconds of netstat and 30 seconds of vmstat.
 
 But I am still interested/curious how one should go for this using 
 the shell. So, can this be done without files? Any thoughts?
 
 Thanks, Nikos


Hi Nikos,

As far as I can tell, the backticks are what's causing the problem.
Even though you put the first command in the background (maybe with
the  inside the backticks, though), the assignment to the nstats
variables causes the script to block.

If you switch to using temp files, you may have more luck, e.g.:

netstat -w 1 -I ng0 -q 60 | tail -1  /tmp/netstat.$$ 
npid=`echo $!`
vmstat -w 2 -c 60 | tail -1  /tmp/vmstat.$$ 
vpid=`echo $!`
wait $npid
nstats=`cat /tmp/netstat.$$`
rm -f /tmp/netstat.$$
wait $vpid
rawdata=`cat /tmp/vmstat.$$`
rm -f /tmp/vmstat.$$`

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlD1rkAACgkQ0sRouByUApCQogCgwOWapKTe9Wl+EClhHZ8iHtn+
/hUAniKZZq1Se2DEtTe1+OAsxDw0f++Z
=zCkZ
-END PGP SIGNATURE-
___
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: OpenSSL Certificate issue

2013-01-10 Thread Greg Larkin
-ctx: Master-Key:
 D6064056F009D26B6CA0C1BBE1271A3B3F840323BA3F0ABA220EFDFDE9FCE1D3DB93CA49F19D794E1DD399BE4350364F

 
Key-Arg   : None
 Start Time: 1357834496 Timeout   : 300 (sec) Verify return code: 0
 (ok) --- +OK Gpop ready for requests from 208.105.14.76
 cz12pf1272748vdb.40 ^C
 
 

 
And this does not work...
 
 [root@MailArch /usr/local/openssl/certs]# openssl s_client -connect
 pop.gmail.com:995 -CApath /usr/local/openssl/certs 
 CONNECTED(0003) depth=1 /C=US/O=Google Inc/CN=Google Internet
 Authority verify error:num=20:unable to get local issuer
 certificate verify return:0 --- Certificate chain 0
 s:/C=US/ST=California/L=Mountain View/O=Google
 Inc/CN=pop.gmail.com i:/C=US/O=Google Inc/CN=Google Internet
 Authority 1 s:/C=US/O=Google Inc/CN=Google Internet Authority 
 i:/C=US/O=Equifax/OU=Equifax Secure Certificate Authority --- 
 Server certificate -BEGIN CERTIFICATE- 
 MIIDfjCCAuegAwIBAgIKO3SUyABopzANBgkqhkiG9w0BAQUFADBGMQswCQYD 
 VQQGEwJVUzETMBEGA1UEChMKR29vZ2xlIEluYzEiMCAGA1UEAxMZR29vZ2xlIElu 
 dGVybmV0IEF1dGhvcml0eTAeFw0xMjA5MTIxMTU3MjNaFw0xMzA2MDcxOTQzMjda 
 MGcxCzAJBgNVBAYTAlVTMRMwEQYDVQQIEwpDYWxpZm9ybmlhMRYwFAYDVQQHEw1N 
 b3VudGFpbiBWaWV3MRMwEQYDVQQKEwpHb29nbGUgSW5jMRYwFAYDVQQDEw1wb3Au 
 Z21haWwuY29tMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDWvVlprqQFc95x 
 O5yfdTl7Hxqvs7C9PPKNdgegVio9c8lOyXoAZSei35xdrNPNbZhxqj5IKbQ+Sqy4 
 W3H9VVcYnf7MLiKWYCv6TisatKaj98LCd8A5soKp5vidtC+UyCelvB7BsE+rPUm1 
 CWURHnkNOWEInpJ0grX9ySx2n4hK/wIDAQABo4IBUDCCAUwwHQYDVR0lBBYwFAYI 
 KwYBBQUHAwEGCCsGAQUFBwMCMB0GA1UdDgQWBBQu/gVNhWx5xU5lNECDJANUvwdT 
 wDAfBgNVHSMEGDAWgBS/wDDr9UMRPme6npH7/Gra42sSJDBbBgNVHR8EVDBSMFCg 
 TqBMhkpodHRwOi8vd3d3LmdzdGF0aWMuY29tL0dvb2dsZUludGVybmV0QXV0aG9y 
 aXR5L0dvb2dsZUludGVybmV0QXV0aG9yaXR5LmNybDBmBggrBgEFBQcBAQRaMFgw 
 VgYIKwYBBQUHMAKGSmh0dHA6Ly93d3cuZ3N0YXRpYy5jb20vR29vZ2xlSW50ZXJu 
 ZXRBdXRob3JpdHkvR29vZ2xlSW50ZXJuZXRBdXRob3JpdHkuY3J0MAwGA1UdEwEB 
 /wQCMAAwGAYDVR0RBBEwD4INcG9wLmdtYWlsLmNvbTANBgkqhkiG9w0BAQUFAAOB 
 gQC4TtLHlv9CIxcIYr5THHpQ8TtQ7vtZyBBJM/RGF7omUSrWPp5Q0ehVnHH5HT4l 
 zrlskssLcq8PLsO/prVIxDZUmmcJwMzKw2c//zaCew13Ms/Dq0UbO2Q6IqzppXQL 
 nHIP7STcClUMZkgiOpzLfrM3jMKa+LuFVVfdRvGh0XVogg== -END
 CERTIFICATE- subject=/C=US/ST=California/L=Mountain
 View/O=Google Inc/CN=pop.gmail.com issuer=/C=US/O=Google
 Inc/CN=Google Internet Authority --- No client certificate CA names
 sent --- SSL handshake has read 1750 bytes and written 325 bytes 
 --- New, TLSv1/SSLv3, Cipher is RC4-SHA Server public key is 1024
 bit Secure Renegotiation IS supported Compression: NONE Expansion:
 NONE SSL-Session: Protocol  : TLSv1 Cipher: RC4-SHA Session-ID:
 4797C67363287F3C528509AAB91A0852BF265D6DFAEB144048815047CA3595DB 
 Session-ID-ctx: Master-Key:
 1A0FAD1AA041894DEDB7329984DBC513D3EE7B4B92901F7700D5C15D767C3E9E5761561BBD47647605D0852D2A24501E

 
Key-Arg   : None
 Start Time: 1357834512 Timeout   : 300 (sec) Verify return code: 20
 (unable to get local issuer certificate) --- +OK Gpop ready for
 requests from 208.105.14.76 j10pf1276456vde.5 ^C [root@MailArch
 /usr/local/openssl/certs]#
 
 -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound
 Coordinator, Schenectady Light Opera Company
 
 ___ 
 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
 

Hi Paul,

It looks like you don't have the Gmail certificate installed locally,
unless I'm mistaken.  Check the instructions here, and let us know if
that fixes the problem for you:
http://squeezesetup.wordpress.com/install-mail-part-2-gmail-certs/

Best regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDu/HwACgkQ0sRouByUApBpigCgnurO0xbOVJSXXXqujqo71N+O
oSgAoKovwTXE05J6TYwo9dJO2YUkXOw6
=Bf8n
-END PGP SIGNATURE-
___
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: OpenSSL Certificate issue

2013-01-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/10/13 12:49 PM, Paul Kraus wrote:
 On Jan 10, 2013, at 12:38 PM, Greg Larkin wrote:
 
 It looks like you don't have the Gmail certificate installed
 locally, unless I'm mistaken.
 
 I do not need to have the Google cert installed as long as I have
 the Root Cert that signed it installed, and I do have that cert.
 The fact that I can point to the certificate file itself and the
 test connection works fine shows that I have the correct cert file.
 I agree that it is probably NOT installed correctly, but ...
 
 Check the instructions here, and let us know if that fixes the
 problem for you: 
 http://squeezesetup.wordpress.com/install-mail-part-2-gmail-certs/

 
 these instructions appear to be for Linux and not FreeBSD and there
 are configuration and path differences, which is probably the core
 of my problem. I expect that I have not installed the root certs
 into the correct directory (but they are in the directory that
 c_rehash is working in).
 
 

My guess is that you're using the c_rehash supplied with OpenSSL 1.x
(installed as a port?) to hash the certs and then the OpenSSL 0.9.x
binary from the base system to connect to the Gmail POP server.

Give your s_client command another try with the fully specified path
to the OpenSSL 1.x binary to see if that corrects the verification error.

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDvCHoACgkQ0sRouByUApDYkQCdEe9DcykLkyzww+0K+UDRqIdC
xY8AoMuUMC1xmD2RlaiAQJpya8y/QQp7
=8zRm
-END PGP SIGNATURE-
___
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: OpenSSL Certificate issue

2013-01-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/10/13 1:38 PM, Paul Kraus wrote:
 On 1/10/13 12:49 PM, Paul Kraus wrote:
 On Jan 10, 2013, at 12:38 PM, Greg Larkin wrote:
 
 It looks like you don't have the Gmail certificate installed
  locally, unless I'm mistaken.
 
 I do not need to have the Google cert installed as long as I 
 have the Root Cert that signed it installed, and I do have
 that cert. The fact that I can point to the certificate file
 itself and the test connection works fine shows that I have
 the correct cert file. I agree that it is probably NOT
 installed correctly, but ...
 
 Check the instructions here, and let us know if that fixes 
 the problem for you: 
 http://squeezesetup.wordpress.com/install-mail-part-2-gmail-certs/




 
these instructions appear to be for Linux and not FreeBSD and there
 are configuration and path differences, which is probably the 
 core of my problem. I expect that I have not installed the
 root certs into the correct directory (but they are in the
 directory that c_rehash is working in).
 
 
 
 My guess is that you're using the c_rehash supplied with OpenSSL 
 1.x (installed as a port?) to hash the certs and then the
 OpenSSL 0.9.x binary from the base system to connect to the Gmail
 POP server.
 
 Give your s_client command another try with the fully specified 
 path to the OpenSSL 1.x binary to see if that corrects the 
 verification error.
 
 That appears to be the problem, using /usr/local/bin/openssl
 works, but I still need to know where the base system needs to have
 the certs placed (and how to hash them as the only c_rehash script
 is the one that came with the port of openssl) ? There are a number
 of utilities (most important here is fetchmail) which is using the 
 base opensssl libraries.
 
 NOTE: I did not explicitly install the openssl port, it must have 
 been brought in as a dependency by another port.
 

I put the certs for my test in /etc/ssl/certs when using the base
system openssl and in /usr/local/openssl/certs when using the openssl
port.

c_rehash uses a specific openssl binary when invoked like so:

env OPENSSL=/usr/bin/openssl c_rehash /etc/ssl/certs

You can set the OPENSSL and SSL_CERT_DIR environment variables
permanently, and that would ensure everything is consistent going
forward, even if the openssl port is present.

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDvEVIACgkQ0sRouByUApB3KQCfcwYrixZv0Fd78d15zQdgwjCI
DowAoLcv8jNxOufJPx26F6A2dZeMeCz/
=EIv4
-END PGP SIGNATURE-
___
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: make install package?

2013-01-10 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/10/13 2:04 PM, Fbsd8 wrote:
 When I do a make install package command the package gets stored
 in the directory I am in.
 
 What is the default path for the packages to be stored in? Is it
 /usr/packages?
 
 If that is indeed the default location, how do I get the make
 install package command put it there automatically?

By default, it is /usr/ports/packages.  To make sure your packages are
stored there, make sure that directory exists.  Once it does, cd to
your favorite port directory and run this command:

make -V PKGFILE

The output should indicate that the package will be created in
/usr/ports/packages instead of the local directory.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.13 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDvExQACgkQ0sRouByUApDaEQCfZazvazW5gHFSf7aj+G6Rjq9z
B+oAn32bn6060dXlfgMxht8xO6zyE5Tj
=jHKR
-END PGP SIGNATURE-
___
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: wifi support?

2012-12-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/19/12 9:59 AM, Thuban wrote:
 Hello, I would like to try freebsd, but I need to know if my wifi
 card will be usable. A lspci under debian returns : 02:00.0 Network
 controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n
 WiFi Adapter (rev 01)
 
 Can you tell me where I can find if this card is supported or not?
 
 Thank you.
 

Hi there,

According to this posting, it doesn't look like that card is supported
on FreeBSD yet:
http://freebsd.1045724.n5.nabble.com/RTL8188CE-wireless-card-td5628611.html

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlDR3UYACgkQ0sRouByUApDHjACgwV3FQZP/FVLvOhjvNvOYU8RV
6ewAoMpMTn3Z76OcmvwY5EkjH3oJMNlG
=YeRx
-END PGP SIGNATURE-
___
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: When Is The Ports Tree Going To Be Updated?

2012-11-27 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/27/12 4:36 AM, Damien Fleuriot wrote:
 On 26 November 2012 21:15, jb jb.1234a...@gmail.com wrote:
 Tim Daneliuk tundra at tundraware.com writes:
 
 ... One wonders if using svn to keep the ports tree up-to-date
 might not be simpler, and perhaps, more reliable ...
 
 As managed by portsnap: $ du -hs /usr/ports/ 850M/usr/ports/
 
 As managed by svn (it took much longer to checkout/download it by
 comparison): $ du -hs /usr/local/ports/ 1.4G
 /usr/local/ports/ $ du -hs /usr/local/ports/.svn/ 702M
 /usr/local/ports/.svn/
 
 One thing about svn is that it is a developer's tool, with its
 own commands set (that should never be mixed with UNIX commands
 w/r to dir/file manipulation), and that should not be expected to
 be learned by non-devs.
 
 For that reasons alone the portsnap-managed ports repo is more
 generic, flexible to be handled by user and add-on
 apps/utilities, looks like more efficient without that svn
 overhead resulting from its requirements and characteristics as a
 source control system.
 
 But, svn offers to a user a unique view into ports repo, e.g.
 history, logs, info, attributes, etc.
 
 jb
 
 
 While we're on the binary vs SVN topic, I'd like to point out I'm 
 *actually running out of inodes* on a virtualized machine (we use 
 these a lot for our dev and preproduction environments) with 5gb
 of space, when checking out the ports tree.
 
 Of course 5gb is quite small but then, this was installed a while
 back.
 
 The transition to SVN means I'm going to have to reinstall these
 firewalls. There are a lot of them it's going to be a major pain.
 
 
 idk, I'm loathe to use portsnap, I liked CSup just fine.

Unless you plan to use svn commands other than checkout in your ports
tree, I would suggest switching to svn export or perhaps the
svn-export script (http://xyne.archlinux.ca/projects/svn-export/) to
fetch your ports tree.

The export command will not create the .svn metadata directory and
will save on inode usage.  Of course, you could also create a new
virtual disk for /usr/ports and tune it with more inodes if you'd
rather use svn checkout.

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC029MACgkQ0sRouByUApBC5QCfZeDivNGRMWB4DV4usXGLojrv
lBsAoIWG4O/ekYRiGJI0M238v+J1y/Lx
=wHdv
-END PGP SIGNATURE-
___
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: When Is The Ports Tree Going To Be Updated?

2012-11-27 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/27/12 11:11 AM, Warren Block wrote:
 On Tue, 27 Nov 2012, Greg Larkin wrote:
 
 Unless you plan to use svn commands other than checkout in your
 ports tree, I would suggest switching to svn export or perhaps
 the svn-export script
 (http://xyne.archlinux.ca/projects/svn-export/) to fetch your
 ports tree.
 
 The export command will not create the .svn metadata directory
 and will save on inode usage.  Of course, you could also create a
 new virtual disk for /usr/ports and tune it with more inodes if
 you'd rather use svn checkout.
 
 It should be added that a stock svn export will download the
 entire ports tree each time rather than just the diffs.
 
 svn-export from above looks interesting, with the ability to get
 just updates.  No port yet, though.

Yeah, I have to add that to my to-do list, since I mentioned it first. :)

Cheers,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with undefined - http://www.enigmail.net/

iEYEARECAAYFAlC07GEACgkQ0sRouByUApBViQCgng+ByDROCHM8UnfK1YDbUanK
g0kAnjf22mYmOw5J3JLC/KyfQqsbNz06
=4tof
-END PGP SIGNATURE-
___
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: trying to build a port for vagrant and failing

2012-11-08 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/7/12 4:46 PM, Christopher J. Ruwe wrote:
 On Tue, 06 Nov 2012 17:58:42 -0500 Greg Larkin 
 glar...@freebsd.org wrote:
 
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 
 On 11/6/12 4:00 PM, Christopher J. Ruwe wrote:
 Currently, I am trying to write up a port for vagrant, a 
 VirtualBox managment thing (http://vagrantup.com/). I am 
 failing with the dependencies and would be grateful for some 
 help.
 
 I have
 
 BUILD_DEPENDS= 
 minitar:${PORTSDIR}/archivers/rubygem-archive-tar-minitar \
 
 RUN_DEPENDS=erubis:${PORTSDIR}/www/rubygem-erubis \ 
 rubygem-childprocess=0.3.1:${PORTSDIR}/devel/rubygem-childprocess


 
\ rubygem-i18n=0.6.0:${PORTSDIR}/devel/rubygem-i18n \
 rubygem-json=1.5.1:${PORTSDIR}/devel/rubygem-json \ 
 rubygem-log4r=1.1.9:${PORTSDIR}/sysutils/rubygem-log4r \ 
 rubygem-net-ssh=2.2.2:${PORTSDIR}/security/rubygem-net-ssh \ 
 rubygem-net-scp=1.0.4:${PORTSDIR}/security/rubygem-net-scp
 
 in the makefile.
 
 From the build log (I am using poudriere for testing) I get
 
 
 ===phase: 
 run-depends== === 
 rubygem-vagrant-1.0.5 depends on executable: erubis - not found
 ===Verifying install for erubis in 
 /usr/ports/www/rubygem-erubis ===   Installing existing 
 package /usr/ports/packages/All/rubygem-erubis-2.7.0.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: 
 rubygem-childprocess=0.3.1 - not found === Verifying install 
 for rubygem-childprocess=0.3.1 in 
 /usr/ports/devel/rubygem-childprocess ===   Installing 
 existing package 
 /usr/ports/packages/All/rubygem-childprocess-0.3.5.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 -
 not found ===Verifying install for rubygem-i18n=0.6.0 in
 /usr/ports/devel/rubygem-i18n ===   Installing existing 
 package /usr/ports/packages/All/rubygem-i18n-0.6.0,2.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-json=1.5.1
 - not found === Verifying install for rubygem-json=1.5.1 in 
 /usr/ports/devel/rubygem-json ===   Installing existing 
 package /usr/ports/packages/All/rubygem-json-1.7.5.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-log4r=1.1.9 
 - not found === Verifying install for rubygem-log4r=1.1.9 in
  /usr/ports/sysutils/rubygem-log4r ===   Installing existing 
 package /usr/ports/packages/All/rubygem-log4r-1.1.10.tbz === 
 Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: 
 rubygem-net-ssh=2.2.2 - not found ===Verifying install 
 for rubygem-net-ssh=2.2.2 in 
 /usr/ports/security/rubygem-net-ssh ===   Installing existing
  package /usr/ports/packages/All/rubygem-net-ssh-2.1.4,2.tbz 
 === Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on package: 
 rubygem-net-scp=1.0.4 - not found ===Verifying install 
 for rubygem-net-scp=1.0.4 in 
 /usr/ports/security/rubygem-net-scp ===   Installing existing
  package /usr/ports/packages/All/rubygem-net-scp-1.0.4_1.tbz 
 === Returning to build of rubygem-vagrant-1.0.5 === 
 rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/gem18 - 
 found ===   rubygem-vagrant-1.0.5 depends on file: 
 /usr/local/bin/ruby18 - found 
 ===





 
So far so good. I noticed that rubygem-net-ssh-2.1.4.2 is supposed
 to satisfy =rubygem-net-ssh-2.2.2, which I ignore for the 
 while.
 
 Now, building yields
 
 ===phase: install
 == ===  Installing for
 rubygem-vagrant-1.0.5 ===   rubygem-vagrant-1.0.5 depends on 
 executable: erubis - found ===   rubygem-vagrant-1.0.5
 depends on package: rubygem-childprocess=0.3.1 - found === 
 rubygem-vagrant-1.0.5 depends on package: rubygem-i18n=0.6.0 -
 found ===   rubygem-vagrant-1.0.5 depends on package: 
 rubygem-json=1.5.1 - found ===   rubygem-vagrant-1.0.5 
 depends on package: rubygem-log4r=1.1.9 - found === 
 rubygem-vagrant-1.0.5 depends on package: 
 rubygem-net-ssh=2.2.2 - found === rubygem-vagrant-1.0.5 
 depends on package: rubygem-net-scp=1.0.4 - found === 
 rubygem-vagrant-1.0.5 depends on file: /usr/local/bin/gem18 - 
 found ===   rubygem-vagrant-1.0.5 depends on file: 
 /usr/local/bin/ruby18 - found ===   Generating temporary 
 packing list ===  Checking if emulators/rubygem-vagrant 
 already installed /usr/bin/env  /usr/local/bin/gem18 install -l
 --no-update-sources --no-ri --install-dir /usr/local/lib/r\ 
 uby/gems/1.8 /usr/ports/distfiles/rubygem/vagrant-1.0.5.gem --
  --build-args ERROR:  While executing gem ... 
 (Gem::DependencyError) Unable to resolve dependencies: vagrant 
 requires json (~ 1.5.1), net-ssh (~ 2.2.2) *** Error code 1
 
 The installation is right about net-ssh (confer above), but 
 definitely not on json (1.7.5

Re: trying to build a port for vagrant and failing

2012-11-06 Thread Greg Larkin
 also worked on porting vagrant a few months ago.  I ran into this
issue, too, and it's caused by the fact that Ruby has the ~ version
dependency operator. Check this thread for some details:
http://stackoverflow.com/questions/5170547/what-does-tilde-greater-than-mean-in-ruby-gem-dependencies

The ports tree has the devel/rubygem-json and the
devel/rubygem-json146, but neither of these satisfy the ~ 1.5.1
version dependency for vagrant.  In order to do that, you'll have to
create a new port (devel/rubygem-json15) and install the 1.5.4 JSON
gem (http://rubygems.org/gems/json/versions/1.5.4).

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlCZliIACgkQ0sRouByUApBTigCgnbpPrumRIVvLjYXjjLDeMjaK
WasAniPgIvIeRWIKEiHCl32sRI2ruFsx
=REtW
-END PGP SIGNATURE-
___
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: send-pr Submission Times

2012-10-13 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sat Oct 13 20:04:28 2012, Doug Hardie wrote:
 I sent a PR using send-pr earlier today.  However, after having sent it and 
 received a line that said it was submitted, I realized I didn't include my 
 email address.  Somehow I completely overlooked that. I have been waiting for 
 it to show up in the on-line indexes, but it hasn't so far.  How long does 
 that process normally take?  I am wondering if it was just dropped because of 
 the lack of the email address.


 ___
 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

Hi Doug,

Check your outbound mail queue, and perhaps it is stuck in there.
Also, look at the send-pr man page and the use of the PR_FORM
environment variable.  You can create a default send-pr template, save
it as a file and put the filename in PR_FORM.  The next time you start
send-pr, your PR will be populated from the template.

Hope that helps,
Greg

- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB6A5AACgkQ0sRouByUApAPjQCfVlcDm8iK4zxbLnrL2VZgataI
NLMAnAmobdYvs42FyPQpYSMe8rgRMfve
=0SIr
-END PGP SIGNATURE-

___
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: problems upgrading from 7.2-RELEASE-p8 to 7.4 or 9.0-RELEASE

2012-10-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/11/12 2:43 PM, Stuart Matthews wrote:
 Hi everyone,
 
 I am including as much information in here as I think will be
 useful. Since I can do snapshots on VMWare, I am happy to try any
 solution or diagnostics. Steps I took to upgrade FreeBSD: Using
 freebsd-update, I upgraded from 7.2-RELEASE to 7.2-RELEASE-p8 Then,
 to upgrade to 9.0-RELEASE, I ran the following commands, using 
 http://www.freebsd.org/doc/handbook/updating-upgrading-freebsdupdate.html
 as my guide: freebsd-update -r 9.0-RELEASE upgrade freebsd-update
 install reboot freebsd-update install portupgrade -f ruby rm
 /var/db/pkg/pkgdb.db portupgrade -f ruby18-bdb rm
 /var/db/pkg/pkgdb.db /usr/ports/INDEX-*.db portupgrade -af 
 freebsd-update install reboot
 
 I noticed that lots of things weren't working, and specifically
 that I was getting lots of complaints about /libexec/ld-elf.so.1. I
 also noticed that when I ran freebsd-update IDS, it seemed to
 report that every single file had the wrong signature.
 
 So, this being a VMWare guest, I reluctantly reverted to a
 previous snapshot, putting me back at 7.2-RELEASE-p8.
 
 I decided to try this time to go from 7.2-RELEASE-p8 to 7.4-RELEASE
 to 8.0-RELEASE to 8.3-RELEASE. I only got to 7.4-RELEASE before I
 had the same issues as above. As a specific example of errors I
 would get, I try to run sudo and I get: [stuart@richelieu ~]$ sudo
 bash /libexec/ld-elf.so.1: sudo: invalid PT_PHDR
 
 This seems to be the most relevant thread to the problem I'm
 having: 
 http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html

  However, I'd be more comfortable using an official upgrade path,
 like freebsd-update, exclusively. That thread involves replacing a
 file from a FreeBSD liveCD. Also, with freebsd-update IDS reporting
 so many files with incorrect signatures, I feel like my problem is
 bigger than fixing one file.
 
 Right now I am back on 7.2-RELEASE-p8 eager to get my OS upgraded
 to something that is under current support by the security team.
 Optimally I'd like to be on 8.3 after looking at the EOL dates.
 
 Also, I did see one other post _somewhere_ mentioning a similar
 proble also on a VMWare guest. So I am suspicious that the problem
 might be related to VMWare.
 
 Thanks, everyone.
 
 - Stuart Matthews

Hi Stuart,

If you click the link in this mailing list article
(http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218554.html),
then follow the rest of the threaded messages, you should be able fix
the problem once you upgrade to 7.4.

The issue is that freebsd-update cannot update the ld-elf.so.1 binary
on a running system, so after the upgrade to 7.4 (or higher), the
system is not completely updated.

This message
(http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html)
has a fix, but it involves booting from a liveCD and replacing the
binary manually.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlB3aQ8ACgkQ0sRouByUApAj2QCgjZZKHLHa04PM3qhtKfwuzJpq
D0MAn3uolwsr/ukwGSxLXK42410IfMt8
=JiOa
-END PGP SIGNATURE-
___
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: Trouble updating Sources via subversion?

2012-10-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/4/12 10:16 AM, Howard Leadmon wrote:
 See inline..
 
 -Original Message- Subject: Re: Trouble updating Sources
 via subversion?
 
 On Thu, 4 Oct 2012 09:27-0400, Howard Leadmon wrote:
 
 
 OK, I have over the past few years updated and tracked various
 source using cvsup, and with freebsd progressing to where it
 now uses
 subversion
 it
 seemed time to move over.
 
 I seem to be running into a problem doing this, and I wanted to
 see if anyone had a cloo they could offer on how to resolve
 this, so that
 hopefully
 I can get my collections of FBSD boxes back where they need to
 be on updates.
 

[...]

Hi Howard,

I know this doesn't answer the question about the svn problems you've
been encountering, but have you considered using portsnap to keep your
/usr/ports tree up to date?  One of it's advantages is that you'll
save space by not housing the /usr/ports/.svn directory created by
svn checkout.

Once portsnap has populated the tree the first time, it's super-fast
keeping it up to date, and it's easily invoked from a nightly cron job.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBtnNYACgkQ0sRouByUApCTbACgydL2s1QpChm0yhG/fLAFGlix
SBEAnjZ9zMkJU8XWYzN1sOmVOVzQZ+xA
=iuQ1
-END PGP SIGNATURE-
___
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: Trouble updating Sources via subversion?

2012-10-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/4/12 10:31 AM, Howard Leadmon wrote:
 
 [...]
 
 Hi Howard,
 
 I know this doesn't answer the question about the svn problems
 you've been encountering, but have you considered using portsnap
 to keep your /usr/ports tree up to date?  One of it's advantages
 is that you'll save space by not housing the /usr/ports/.svn
 directory created by svn checkout.
 
 Once portsnap has populated the tree the first time, it's
 super-fast keeping it up to date, and it's easily invoked from a
 nightly cron job.
 
 Hope that helps, Greg
 
 In theory that seems like an OK idea, but I figured I would
 probably setup a mirror as I update a bunch of servers, so getting
 one to house a local copy for the others to sync to seemed like a
 decent goal.
 
 Also, and by all means correct me if I am wrong, but I want to sync
 not only with /usr/ports, but also with /usr/src, and /usr/doc, and
 I was under the impression that portsnap was only for ports, which
 would still leave me holding the bag on the OS sources and such..
 
 
 --- Howard Leadmon - how...@leadmon.net
 

Unless you're trying to save bandwidth (and probably not too much
anyway), I wouldn't set up a local portsnap mirror.  It's very fast to
sync from multiple machines.  If you need to guarantee that every
machine has the exact same /usr/ports, then you can rsync from a
designated master to the others.

As you mentioned, portsnap is only for the ports tree. For production
machines, I use freebsd-update to keep /usr/src up to date, but that's
only necessary when new base system patches are released.  If you're
tracking -STABLE or -CURRENT, then I agree that svn is the right solution.

To solve the node conflict problem, here are some
suggestions/questions to ponder:

- - Check that your system clock is in sync with a good NTP source

- - Make absolutely sure that a cron job or some other hidden process is
not touching the /usr/ports, /usr/src and /usr/doc directories
(mentioned by a previous poster)

- - To verify that the directories haven't changed, try running this
command immediate after the initial checkout:

  find /usr/ports/ -type f -print | sort | xargs md5 
/tmp/ports-md5-1.txt

  Wait a while, then run these commands:

  find /usr/ports/ -type f -print | sort | xargs md5 
/tmp/ports-md5-2.txt
  diff /tmp/ports-md5-[12].txt

  What is the output of the diff command?

- - Does this problem show up consistently on more than one of your
machines or just a subset?

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (Darwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBtpmQACgkQ0sRouByUApDWCQCeNdJMNHM8dDbk+5KR4kdTHaaI
b+kAoJn5F+w9BI2uWoKgeSvYIzF82etJ
=uQPq
-END PGP SIGNATURE-
___
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


BSD on IOS hardware

2012-09-27 Thread Greg Freeman
Is it possible to load FreeBSD on an Apple Mobile device designed to run IOS?  
There are a lot of old iPads out there.  If we could repurpose them to straight 
Unix pads that might be cool.  From there shells and then maybe an open source 
alternative to IOS or Android.  Maybe a way for people to get free of the info 
pirates.___
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: Twitter.com is loading slowly after updating to Firefox 13.0.1

2012-07-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 7/17/12 7:56 AM, Toomas Aas wrote:
 Hello!
 
 I'm having this problem on two different computers, one running 
 8.3-STABLE and the other running 9.0-STABLE. After updating Firefox
 from 12.0 to 13.0.1, whenever I access twitter.com, I can log in
 but after that a message appears saying that Twitter.com is
 loading slowly, and the site is practically unusable - clicking on
 any of the links has no effect.
 
 Various support sites say that this may be a problem with Firefox 
 extensions or plugins, or some difficult-to-find problem which may
 be worked around by clearing cache and cookies, or trying with a
 new Firefox profile.
 
 For testing, I have disabled all extensions and plugins. I have
 also tried moving my ~/.mozilla directory out of the way so that
 new empty profile is created. None of this has helped. The fact
 that this is happening on two totally different machines is leading
 me to think that maybe this is some peculiarity in a way that
 Firefox is compiled on FreeBSD, so I decided to ask if anyone else
 is seeing this.
 
 When updating Firefox to 13.0.1, I didn't change any port
 configuration options from what I was using previously: cat
 /var/db/ports/firefox/options # This file is auto-generated by
 'make config'. # Options for firefox-13.0.1,1 
 _FILE_COMPLETE_OPTIONS_LIST=DBUS PGO DEBUG LOGGING
 OPTIMIZED_CFLAGS OPTIONS_FILE_SET+=DBUS OPTIONS_FILE_UNSET+=PGO 
 OPTIONS_FILE_UNSET+=DEBUG OPTIONS_FILE_UNSET+=LOGGING 
 OPTIONS_FILE_SET+=OPTIMIZED_CFLAGS
 

Hi Toomas,

I ran into this problem with FF13 on OS X over the weekend, and I
fixed it with a suggestion I found somewhere online:

Open the about:config preference pane in FF.  Change the
http.keep-alive property to true, and you should be all set.

Hope that helps,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlAFbSwACgkQ0sRouByUApCeEACfbPTah7xWhOUs/KaVp+1Ro409
ryQAoJSPTTfYdrL7UV7NtxvL+egZXnqF
=BAb3
-END PGP SIGNATURE-
___
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: Blank page after log in to phpmyadmin

2012-06-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/6/12 7:16 PM, be...@norden1.com wrote:
 I have a blank white page after I log into phpmyadmin. I have
 upgraded to php 5.4.3 along with the extensions. Also upgraded to
 current phpmyadmin. Have checked the error logs and nothing is
 showing in the logs. Any idea what happended. phpmyadmin was
 working before upgrade.
 
 

Hi there,

This is typically caused by a PHP-related error of some sort.  Have
you enable the error_log directive in your php.ini file?  If not, do
that and restart your server.  After loading the page again, check the
file and you should have some indication of what's wrong.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/P6D8ACgkQ0sRouByUApClwwCfbKt4LmaJ+pKiIss/Av95CuTQ
8nUAnAzfNrx4fs78ej6UFuf0G5i5bpln
=XAa7
-END PGP SIGNATURE-
___
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: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/4/12 2:32 PM, Roland Smith wrote:
 On Sun, Jun 03, 2012 at 09:10:03PM +0200, Roland Smith wrote:
 On Sun, Jun 03, 2012 at 07:18:26PM +0100, Matthew Seaman wrote:
 On 03/06/2012 17:05, Roland Smith wrote:
 I've used 'make config' to set the PYCAIO option to on;
 
 slackbox# cat /var/db/ports/py27-py-stl/options # This file
 is auto-generated by 'make config'. # Options for
 py27-py-stl-3.1 _OPTIONS_READ=py27-py-stl-3.1 
 _FILE_COMPLETE_OPTIONS_LIST=PYCAIRO 
 OPTIONS_FILE_SET+=PYCAIRO
 
 But the port seems to ignore it:
 
 slackbox# make showconfig === The following configuration
 options are available for py27-py-stl-3.1: PYCAIRO=off: Use
 (py)Cairo to enable stl2pdf === Use 'make config' to modify
 these settings
 
 Every time I do 'make config', the PYCAIRO option will be
 unset, even if it shows as set in
 /var/db/ports/portname/options!
 
 What does
 
 % make -V PORT_OPTIONS
 
 slackbox# pwd /usr/ports/graphics/py-stl slackbox# make -V
 PORT_OPTIONS DOCS EXAMPLES NLS
 
 show?  If PYCAIRO is set in PORT_OPTIONS, then the port is
 accepting your setting of the option, and you've found a bug
 with the showconfig target.  (If so, please open a PR.)
 
 Well, it was a bug, but not particularly in showconfig alone, see
 below.
 
 If not, then something odd is happening, as your port looks
 perfectly OK to me.  Are you using a ports tree updated within
 about the last 48 hours or so?  I know there were some bug
 fixes went in to all FOO_DESC lines to contain (brackets) and
 other syntactically significant characters.
 
 I updated my ports tree this afternoon. The really weird thing is
 that I tested 'make config' in several other ports where it
 worked fine...
 
 PS. Asking this on freebsd-ports@... might be a good idea.
 
 The bad news is that it was a bug in the ports system. It turned
 out that because of the way the unique name of the port was set
 (which happens twice), the options file is not read from the same
 directory that it is written to! Thanks to Baptiste Daroussin for
 clueing me in in this. I've gained a new respect for the people
 maintaining the ports infrastructure. :-) It's kind of amazing it
 works as well as it does.
 
 The good news is that there are several workarounds. For future
 reference, the workaround that I ended up using was to set the
 following variable in the port makefile:
 
 OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options
 
 
 Roland

Hi Roland,

I don't think you want to hardcode the py27- in the variable
assignment, since it ties the filename to a specific version of
Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself as
the Python version changes.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/NFBcACgkQ0sRouByUApDtRgCgl0NvUTwexNS1TdZqqXElKWPX
SggAn1b/QRnU8rhwbtu0mebByp+IRB3A
=+ly7
-END PGP SIGNATURE-
___
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: [SOLVED] Re: optionsng ignores /var/db/ports/portname/options

2012-06-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/4/12 5:25 PM, Roland Smith wrote:
 On Mon, Jun 04, 2012 at 04:01:27PM -0400, Greg Larkin wrote:
 Well, it was a bug, but not particularly in showconfig alone,
 see below.
 
 If not, then something odd is happening, as your port
 looks perfectly OK to me.  Are you using a ports tree
 updated within about the last 48 hours or so?  I know there
 were some bug fixes went in to all FOO_DESC lines to
 contain (brackets) and other syntactically significant
 characters.
 
 I updated my ports tree this afternoon. The really weird
 thing is that I tested 'make config' in several other ports
 where it worked fine...
 
 PS. Asking this on freebsd-ports@... might be a good idea.
 
 The bad news is that it was a bug in the ports system. It
 turned out that because of the way the unique name of the port
 was set (which happens twice), the options file is not read
 from the same directory that it is written to! Thanks to
 Baptiste Daroussin for clueing me in in this. I've gained a new
 respect for the people maintaining the ports infrastructure.
 :-) It's kind of amazing it works as well as it does.
 
 The good news is that there are several workarounds. For
 future reference, the workaround that I ended up using was to
 set the following variable in the port makefile:
 
 OPTIONSFILE=${PORT_DBDIR}/py27-${PORTNAME}/options
 
 
 Roland
 
 Hi Roland,
 
 I don't think you want to hardcode the py27- in the variable 
 assignment, since it ties the filename to a specific version of 
 Python.  Check PYTHON_PKGNAMEPREFIX, and it should adjust itself
 as the Python version changes.
 
 Actually, if I understood correctly, the fact that
 PYTHON_PKGNAMEPREFIX _changes_ from py- to py27- in different parts
 of the included .mk files is what causes the problem in the first
 place. So I did this on purpose.
 
 Roland

Hi Roland,

Ok, I should have read the previous thread emails more closely.  At
any rate, putting a specific Python version into the name of the
OPTIONSFILE seems a bit confusing.  Could you achieve the same outcome
by putting py- instead of py27- in the name?

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/NYqIACgkQ0sRouByUApBeJACgyuHOEkwVWIdVq31XkLtd89AQ
GWsAoLzZpiKWOAe2u8sEWEM/kGvvnmT+
=JKWu
-END PGP SIGNATURE-
___
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: why I am upset

2012-05-28 Thread Greg 'groggy' Lehey
On Saturday, 22 January 2005 at  9:53:53 +, d...@safeport.com wrote:
 On Sun, 27 May 2012, Warren Block wrote:

 There can be a tremendous investment of time in using software, whether
 free or not.  Money too, often.

 Those who work to write, port, and support free software also spend a
 tremendous amount of time in doing that.  Money too, often.

 So both parties have a large investment, and it's easy but counterproductive
 to get emotional about it.  Take a deep breath, be polite, and try to
 appreciate the other guy's problems.  Otherwise it just ends up creating more
 problems, and there are already enough.

 Warren makes a great point. In years past Greg Lehey used to post,
 How to ask a question, or something similar.

How to get best results from FreeBSD questions.

 Its worth resurrecting that.

It's still there in the FreeBSD web site:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/
If people are getting upset, maybe it's worth reading it again.

 As I recall, the major points were: Nobody here is getting paid to
 do this; there are a great number of people with a wealth of
 information willing to help; and, its up to the one asking the
 question to do it in such a way as to peak someones interest.

Yes, that's a good paraphrase.

FWIW I think that Mitja has a point, even if in his frustration he put
it badly.  It's a pity that nobody here tried to get him to calm down
and say what went wrong or enter a PR.  While it's true that we're all
volunteers, that doesn't mean we shouldn't be proud of our product and
want to fix it if things go wrong.

Greg
-- 
Sent from my desktop computer
Finger g...@freebsd.org for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed.  If your Microsoft MUA reports
problems, please read http://tinyurl.com/broken-mua


pgpDR3Bd6XYke.pgp
Description: PGP signature


Re: Somewhat OT: CVS Question

2012-05-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/25/12 11:59 AM, Tim Daneliuk wrote:
 Forgive the OT nature of this, but FBSD tends to be a big CVS user,
 so I am hoping someone has an answer for this.  Feel free to reply
 privately if you do not wish to inflict your answer up on the whole
 list...
 
 Is there a way to checkout a project from a CVS repo *into the
 current directory*?   If I do this:
 
 cvs co -d .  foo
 
 Or this:
 
 cvs co -d ./ foo
 
 I get this:
 
 cvs checkout: existing repository /usr/cvs/... does not match 
 /usr/cvs/.../foo cvs checkout: ignoring module waccess
 
 Ideas?

Hi Tim,

Yes, that's possible, and I do it with the ports tree on my
development machine when I only want to work on a small portion of the
tree, e.g.:

mkdir ~/FreeBSD
cd ~/FreeBSD
cvs co -l -d . ports
cd ports
cvs co -l -d . ports/www
cd www
cvs co -d . ports/www/zend-framework [or just zend-framework because
of the alias in CVSROOT/modules]

The error you're receiving makes me thing something is wrong with your
CVSROOT setting.  Can you show it, as well as the full command line?
The module waccess message doesn't make sense with the command line
you provided.

Thank you,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+/vToACgkQ0sRouByUApDqLQCgxwuLL9PveIzGkT6B9lXcO2iM
Z6gAoIgO0BIfMW9AR+tGfe3n75wTOsJl
=DK17
-END PGP SIGNATURE-
___
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: pcre library linking issues

2012-04-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/19/12 11:28 AM, Lars Eighner wrote:
 On Thu, 19 Apr 2012, Aleksandr Miroslav wrote:
 
 I inadvertently updated my PCRE library and in the process broke
 a number of things that depended on the old library.
 
 Not the right answer but works:
 
 Create a symbolic link in the library so libpcre.so.0 points to 
 libpcre.so.1
 
 The old library should have been moved to a compatibility library
 so that things that still depended on it could find it.  This did
 not happen for some reason.  Fortunately, it appears that
 libpcre.so.1 is (largely) backwards compatible, so much (all?) of
 what depended on it will work if fooled by a symbolic link.  Some
 upgrades will wipe out the link so it may be necessary to recreate
 it until things get straightened out.
 

Another option that works well is the /etc/libmap.conf file:
http://www.freebsd.org/cgi/man.cgi?query=libmap.conf

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+QQ60ACgkQ0sRouByUApDj6QCgtKl1kymoGvmKgy/rE1TOCTxg
glUAn0/nq+fmmluDLiM3meAjxdgUJsRZ
=H3uc
-END PGP SIGNATURE-
___
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: newfs create to little inodes

2012-04-16 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/16/12 10:01 AM, Eugen Konkov wrote:
 
 Does newfs always must create sufficient count of inodes? or I
 must supply some addition options when creating FS?
 
 #df -ih Filesystem size   used  avail  capacity iused ifree %iused
 mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k0 100%
 /mnt/disk1
 
 

Hello Eugen,

Yes, please check the -i option of newfs:
http://www.freebsd.org/cgi/man.cgi?query=newfs

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+MLKsACgkQ0sRouByUApDePACeOwLbPFzGnsKeslOoyMOHwE/6
BX0AmwVYPFq5BX8Pnpm0vOS18g/5hI6T
=hL8L
-END PGP SIGNATURE-
___
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: newfs create to little inodes

2012-04-16 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/16/12 11:07 AM, Eugen Konkov wrote:
 Здравствуйте, Greg.
 
 Вы писали 16 апреля 2012 г., 17:28:59:
 
 GL -BEGIN PGP SIGNED MESSAGE- GL Hash: SHA1
 
 GL On 4/16/12 10:01 AM, Eugen Konkov wrote:
 
 Does newfs always must create sufficient count of inodes? or I 
 must supply some addition options when creating FS?
 
 #df -ih Filesystem size   used  avail  capacity iused ifree
 %iused mounted on /dev/ad0s1a 4.9G   2.1G  2.4G   47%   331k
 0 100% /mnt/disk1
 
 
 
 GL Hello Eugen,
 
 GL Yes, please check the -i option of newfs: GL
 http://www.freebsd.org/cgi/man.cgi?query=newfs
 
 GL Hope that helps, GL Greg
 
 unhappy defaults for disks about ~5G capacity because of this
 default create only 350k inodes installig system and extract ports
 eats about 95% of inodes =(
 
 but about 50% disk space are free yet
 
 

Yes, please try increasing the number of inodes when you create the
filesystem.  The -i option is used to do that if you are not happy
with the default picked by newfs.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk+MPSIACgkQ0sRouByUApDNQQCgp9PuMZMfeg/7lxbdWUcnUfUP
kasAoIQEbx7FjV7Xw8eV1BcJ1cvWPpX6
=0DLy
-END PGP SIGNATURE-
___
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: Find run-time dependancies recursively for FreeBSD port

2012-03-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/21/12 12:51 PM, Rick Miller wrote:
 Hi all,
 
 I can get run-time depends by executing make run-depends-list or
 all dependancies by running make all-depends-list.  Is there a way
 to get all run-time depends recursively (I don't need the build
 depends or their depends)?
 

Hi Rick,

The closest I see in bsd.port.mk are the following targets, but I
think they include LIB_DEPENDS as well:

package-depends-list
actual-package-depends

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk9qDLUACgkQ0sRouByUApDiqgCguy0v3CoiLLGpKWmcTkwmYelU
NJ4AoISFXcPtr00gxcKH+3SPHstnFwRs
=IZU/
-END PGP SIGNATURE-
___
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: Unable to upgrade packages on FreeBSD

2012-01-30 Thread Greg Groth

On 1/30/2012 6:13 PM, freebsd-lists-e...@erikosterholm.org wrote:

On Mon, Jan 30, 2012 at 03:28:28PM -0700, Chad Perrin wrote:

You talk a lot about how easy it is to maintain a binary package system.
I would like you to convince me that it is easy, keeping in mind that it
should remain compatible with the ports system.  I am willing to be
convinced.

--
Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ]


Oh come on, guys. David is the same person who said that FreeBSD was
poorly documented.

http://osdir.com/ml/freebsd-questions/2011-12/msg00684.html

I really hate throwing around the 'T' word, but I'm starting to
wonder.  I'll give him the benefit of the doubt a bit longer.

David, it's increasingly clear that FreeBSD is not going to fit your
needs. If, for some reason, you are interested in the FreeBSD kernel,
but binary packages, consider GNU/kFreeBSD.


I'm finding this conversation very amusing.  After playing with I don't 
know how many Linux distributions since the mid-90's, and running into 
the same problem of things breaking after updating binary packages, I 
moved to FreeBSD around 5.0 for my web server.  Since that time, I've 
forced to do one reinstall due to a hardware failure, somewhere around 
7.0.  I am now running 8.2.  After going through I can't remember how 
many upgrades and updates, I've only had a couple of minor issues over 
the years (most were resolved after reading Updating after the fact ;-) 
).  I'll give up the time savings of binary packages vs. the 
dependability of compiling stuff myself any day.


Greg Groth
___
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: Weird stuff SOLVED

2011-12-03 Thread Greg Larkin
Hi Bernt,

Glad to hear you figured it out!

Cheers,
Greg



On Dec 1, 2011, at 8:10 PM, Bernt Hansson b...@bananmonarki.se wrote:

 2011-12-02 01:53, Bernt Hansson skrev:
 
 At some points one is an idiot!
 
 /var/db/ports was pointing at the wrong directory and not the ports 
 directory. Well, well you live to learn.
 
 2011-12-01 17:13, Chris Brennan skrev:
 On Thu, Dec 1, 2011 at 10:54 AM, Bernt Hanssonb...@bananmonarki.se
 wrote:
 
 2011-12-01 15:11, Greg Larkin skrev:
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 12/1/11 8:37 AM, Bernt Hansson wrote:
 
 Hello list!
 
 Trying to upgrade 3:d party stuff.
 
 Only get errors. What gives?
 
 --- Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
 (graphics/jasper)
 --- Building '/usr/ports/graphics/jasper'
 === Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/**graphics/jasper make config;
 
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-**48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.
 
 Permission is 777
 
 
 Hi Bernt,
 
 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.
 
 Are you running the upgrade as the root user? I would be interested in
 seeing the output of the following command sequence:
 
 cd /usr/ports/graphics/jasper
 make -V SU_CMD
 make -V UID
 make -V OPTIONSFILE
 
 
 %su -
 Password:
 testbox# cd /usr/ports/graphics/jasper
 testbox# make -V SU_CMD
 /usr/bin/su root -c
 testbox# make -V UID
 0
 testbox# make -V OPTIONSFILE
 /var/db/ports/jasper/options
 
 
 
 Also, what happens if you simply do this:
 
 cd /usr/ports/graphics/jasper make config
 
 
 testbox# cd /usr/ports/graphics/jasper make config
 
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/**graphics/jasper.
 
 I did this also, as root
 
 cd /usr/ports (it's a link)
 mkdir 1
 
 cd /usr/home/bernt/disk8/ports/graphics/jasper
 
 mkdir 1
 mkdir: 1: File exists
 
 Creating files/dirs don't seem to be a problem.
 
 /dev/ad0s2g 8.7G 8.3G -322M 104% /usr
 /dev/ad14.eli 902G 126G 775G 14% /usr/home/bernt/disk8
 
 
 I'm gonna take a stab in the dark here, paste the result of the following
 cmd:
 
 mount | grep ad14
 
 Just to make sure.
 testbox# fsck -y -t ufs /dev/ad14.eli
 ** /dev/ad14.eli
 ** Last Mounted on /usr/home/bernt/disk8
 ** Phase 1 - Check Blocks and Sizes
 ** Phase 2 - Check Pathnames
 ** Phase 3 - Check Connectivity
 ** Phase 4 - Check Reference Counts
 ** Phase 5 - Check Cyl groups
 440342 files, 66312180 used, 406697750 free (144630 frags, 50819140
 blocks, 0.0% fragmentation)
 
 * FILE SYSTEM IS CLEAN *
 
 testbox# mount /dev/ad14.eli /usr/home/bernt/disk8
 
 testbox# mount | grep ad14
 /dev/ad14.eli on /usr/home/bernt/disk8 (ufs, local, soft-updates)
 testbox
 
 Possibly, you have a weird mount option being passed to the mountpoint,
 that is preventing you from building ports at this location.
 
 On a side note, why exactly do you need ports on an encrypted gli
 conainer?
 
 It's not a need per se only so I could rule out any space issue.
 ___
 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
 
 
___
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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 8:37 AM, Bernt Hansson wrote:
 Hello list!
 
 Trying to upgrade 3:d party stuff.
 
 Only get errors. What gives?
 
 ---  Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10' (graphics/jasper)
 ---  Building '/usr/ports/graphics/jasper'
 ===  Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/graphics/jasper  make config;
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.
 
 Permission is 777

Hi Bernt,

Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
message is emitted when certain directories cannot be created.

Are you running the upgrade as the root user?  I would be interested in
seeing the output of the following command sequence:

cd /usr/ports/graphics/jasper
make -V SU_CMD
make -V UID
make -V OPTIONSFILE


Also, what happens if you simply do this:

cd /usr/ports/graphics/jasper  make config


Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xiv4ACgkQ0sRouByUApAoAQCgzkRr80OZkz4cIBAJmEGK4tzR
rm4An2+qDSo8SiBY7tDDkDJa6Jg+3Lf/
=8t74
-END PGP SIGNATURE-
___
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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 10:54 AM, Bernt Hansson wrote:
 2011-12-01 15:11, Greg Larkin skrev:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 On 12/1/11 8:37 AM, Bernt Hansson wrote:
 Hello list!

 Trying to upgrade 3:d party stuff.

 Only get errors. What gives?

 ---   Upgrading 'jasper-1.900.1_9' to 'jasper-1.900.1_10'
 (graphics/jasper)
 ---   Building '/usr/ports/graphics/jasper'
 ===   Cleaning for jasper-1.900.1_10
 cd /usr/home/bernt/disk8/ports/graphics/jasper  make config;
 ===  Cannot create , check permissions
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 *** Error code 1

 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 ** Command failed [exit code 1]: /usr/bin/script -qa
 /tmp/portupgrade2030-48187-8vcb9-0 env UPGRADE_TOOL=portupgrade
 UPGRADE_PORT=jasper-1.900.1_9 UPGRADE_PORT_VER=1.900.1_9 make
 DEPENDS_TARGET=package
 ** Fix the problem and try again.

 Permission is 777

 Hi Bernt,

 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.

 Are you running the upgrade as the root user?  I would be interested in
 seeing the output of the following command sequence:

 cd /usr/ports/graphics/jasper
 make -V SU_CMD
 make -V UID
 make -V OPTIONSFILE
 
 %su -
 Password:
 testbox# cd /usr/ports/graphics/jasper
 testbox# make -V SU_CMD
 /usr/bin/su root -c
 testbox# make -V UID
 0
 testbox# make -V OPTIONSFILE
 /var/db/ports/jasper/options
 

 Also, what happens if you simply do this:

 cd /usr/ports/graphics/jasper  make config

 
 testbox# cd /usr/ports/graphics/jasper  make config
 === Cannot create , check permissions
 *** Error code 1
 
 Stop in /usr/home/bernt/disk8/ports/graphics/jasper.
 
 I did this also, as root
 
 cd /usr/ports (it's a link)
 mkdir 1
 
 cd /usr/home/bernt/disk8/ports/graphics/jasper
 
 mkdir 1
 mkdir: 1: File exists
 
 Creating files/dirs don't seem to be a problem.
 
 /dev/ad0s2g  8.7G8.3G   -322M   104%/usr
 /dev/ad14.eli902G126G775G14%/usr/home/bernt/disk8
 

Does /usr/ports link directly to
/usr/home/bernt/disk8/ports/graphics/jasper?  I wouldn't expect that's
the case, but that's what the transcript above implies.

Does this problem happen with other ports as well or just graphics/jasper?

Do you have an /etc/make.conf file, and if so, what are the contents?

What is the output of the following commands?

ls -l /var/db/ports/jasper
cat /var/db/ports/jasper/options

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xp9IACgkQ0sRouByUApAwPgCfd00wf5oxpdSWQQoGw9H3DZb1
gosAn27BTLABAckWgIrJwmqhlOkFzAlP
=Ymv+
-END PGP SIGNATURE-
___
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: Weird stuff

2011-12-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/1/11 12:21 PM, RW wrote:
 On Thu, 01 Dec 2011 09:11:10 -0500
 Greg Larkin wrote:
 
 
 
 Reading through /usr/ports/Mk/bsd.port.mk, the check permissions
 message is emitted when certain directories cannot be created.

 
 The actual error is:
 
 === Cannot create , check permissions
 
 Note the space before the comma. I suspect it's trying to create a
 directory using an undefined name variable.

Yes, I noticed that and have been trying to figure out why the shell
variable optionsdir seems to be empty.  I can't see how that's
possible yet, but I can't wait to find out!

- -g

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7Xw+gACgkQ0sRouByUApDo6QCfaV9YM94ryI3GcAqzhqp3e4+j
zoMAoLlXwq3TlB6UUBN3C2VD9iwQtUqv
=6eEc
-END PGP SIGNATURE-
___
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: Build options built by dialog(1)

2011-11-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/15/11 7:15 PM, Chuck Bacon wrote:
 I stumbled into a problem trying to get xorg up on my
 current 9.0-RC1.  I selected an intolerable choice,
 notable PTH.  Now the choice of Python causes the build
 to fail, and I can't find the output of dialog(1).
 Question:  How can I restart the build with a new
 dialog(1)?  Put another way, where are the various
 build variables kept?
 Once again, this old 650-704-7070-PDP4-KA/KI/KL/KS-CTSS-
 Convex-IBMPC-3B1 warrior needs help :-}
 Chuck Bacon -- c...@cape.com
 ABHOR SECRECY -- DEFEND PRIVACY

Hi Chuck,

Check in /var/db/ports/*/options.  You can also run make config or
make rmconfig in a port directory to re-configure or remove the
current configuration, respectively.

HTH,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7DAt4ACgkQ0sRouByUApBmFgCgnxZx1BaWyi1qwbLacLPysqnr
bd0An30/VE3+nqLS5IkramZjeM4pXwJ2
=C4VN
-END PGP SIGNATURE-
___
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: Disc encryption during installation

2011-11-09 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 11/9/11 11:06 AM, Luis Henriques wrote:
 Hi,
 
 I was wondering whether there is any work being done in order to provide
 support for (full) disk encryption during installation.  I know this can
 be done by installing a minimal system, manually setup encryption and
 install.  But it would be nice to have something working out-of-the-box...
 
 P.S.: please keep me on CC, I'm not on the list.
 
 Cheers,
 --
 Luis Henriques

Hi Luis,

If you install FreeBSD with the PC-BSD installer, you can select the
disk encryption option.  See here for more information:
http://wiki.pcbsd.org/index.php/Disk_Encryption

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk66wpgACgkQ0sRouByUApDB7gCgmbkDv7urHmYLqq2+6B3d1gvy
ubAAoIm/hUU4quW64O482P9/xPTZ+303
=zkVY
-END PGP SIGNATURE-
___
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: moving a svn repository

2011-10-04 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/3/11 3:24 PM, n dhert wrote:
 I meant repository (with README.txt, conf, etc...)
 What are hooks scripts, are they not in the repository?
  
 I am not a SVN user, what is the meaning of
 svn switch --relocate

NOTE: Please bottom-post and leave the cc: freebsd-questions@ in place -
thank you!

Hi there,

The hook scripts will be found in the hooks/ subdirectory of the
repository.  They are not included in the dump file, so they should be
copied manually to the repository on the new server.  In fact, here is
more detail about the process:

# Run these commands on the original machine:
svnadmin dump /path/to/svn/repos | gzip -9v  /tmp/repos.dump.gz
tar -C /path/to/svn/repos/hooks -cvf - . | gzip -9v  /tmp/hooks.tar.gz
scp /tmp/repos.dump.gz /tmp/hooks.tar.gz user@newmachine:/tmp

# Run these commands on the new machine:
svnadmin create /path/to/new/svn/repos
zcat /tmp/repos.dump.gz | svnadmin load --force-uuid /path/to/new/svn/repos
zcat /tmp/hooks.tar.gz | tar -C /path/to/new/svn/repos/hooks -xvf -

Once that's all done, you may have to chown/chmod the new repository
directory to get everything working.  Also, what connection type do you
use - svn+ssh://, http://, https://, etc.?  Depending on that answer,
there will be some other configuration needed on the new server.

The svn switch --relocate command retargets a checked-out working
directory to a Subversion repository at a new URL.  That saves the
developers from having to freshly check out their working directories
after a repository is moved to a new server.

Regards,
Greg

  
  
 2011/10/3 Greg Larkin glar...@freebsd.org mailto:glar...@freebsd.org
 
 On 10/3/11 1:32 PM, n dhert wrote:
 On a FreeBSD machine which the svn software installed,
 repositories for
 different projects exist.
 Such a repository looks as a directory with subdirs and files.
 
 One user wants the SVN repository of one project to be transferred
 to a
 different machine (which had
 exactly the same FreeBSD version and exactly the same version of
 the svn
 software).
 
 Is it possible to simply make a tar file of the directory of the svn
 repository, transfer that to the other machine
 and there untar it in the home-directory that the user has on that
 other
 machine and use it without further ado ?
 
 Hi n dhert,
 
 You said repository, but can you clarify if you meant a Subversion
 working directory or a Subversion repository?  A working directory has a
 bunch of .svn directories throughout the hierarchy, and a repository has
 a directory structure that looks like this at the top level:
 
 README.txt
 conf/
 db/
 format
 hooks/
 locks/
 
 If you want to move a working directory to a new machine, I suggest
 committing pending changes in the original one, removing it from the old
 machine and then checking it out fresh on the new machine.
 
 If you want to move a repository, ask your user to commit pending
 changes, use the svnadmin dump command to create a dump file, then
 transfer it and use svnadmin load on the target machine.  Also make
 sure to check if there are any hook scripts in the old repository and
 move them as well.  They may depend on tools that are not installed or
 paths that don't exist on the new machine, so check that they function
 correctly.
 
 After the repository move, the user can run svn switch --relocate in
 his working directory to point to the new repository URL.
 
 Hope that helps,
 Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6LKXQACgkQ0sRouByUApCiDgCgi4YK9/bNEjX2KJsXds4bRl49
Z74An0A2efWd9bVSbhD2lcgDlXjLPABJ
=xW6F
-END PGP SIGNATURE-
___
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: moving a svn repository

2011-10-03 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 10/3/11 1:32 PM, n dhert wrote:
 On a FreeBSD machine which the svn software installed, repositories for
 different projects exist.
 Such a repository looks as a directory with subdirs and files.
 
 One user wants the SVN repository of one project to be transferred to a
 different machine (which had
 exactly the same FreeBSD version and exactly the same version of the svn
 software).
 
 Is it possible to simply make a tar file of the directory of the svn
 repository, transfer that to the other machine
 and there untar it in the home-directory that the user has on that other
 machine and use it without further ado ?

Hi n dhert,

You said repository, but can you clarify if you meant a Subversion
working directory or a Subversion repository?  A working directory has a
bunch of .svn directories throughout the hierarchy, and a repository has
a directory structure that looks like this at the top level:

README.txt
conf/
db/
format
hooks/
locks/

If you want to move a working directory to a new machine, I suggest
committing pending changes in the original one, removing it from the old
machine and then checking it out fresh on the new machine.

If you want to move a repository, ask your user to commit pending
changes, use the svnadmin dump command to create a dump file, then
transfer it and use svnadmin load on the target machine.  Also make
sure to check if there are any hook scripts in the old repository and
move them as well.  They may depend on tools that are not installed or
paths that don't exist on the new machine, so check that they function
correctly.

After the repository move, the user can run svn switch --relocate in
his working directory to point to the new repository URL.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6J/jMACgkQ0sRouByUApBUVwCffLm7F4uhjmAk90323ZyJXtmH
tlsAn0kmx7u7qFGNJ4nQRHaUbGGxm7vL
=BkAH
-END PGP SIGNATURE-
___
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: Installing Python Packages

2011-08-26 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/26/11 8:07 PM, doug wrote:
 I am teaching myself python and have 2.6 installed. What is the proper
 way to install py26-setuptools? As 2.7 is the default it appears that I
 can neither use pkg_add nor build from the ports tree.
 
 I can download the source and the 2.6 egg. It appears that I need to
 configure the egg for FreeBSD. Is that correct?


Hi Doug,

You can do this easily by using the ports tree.  First, add the
following to your /etc/make.conf (create the file if necessary):

PYTHON_DEFAULT_VERSION=python2.6

Next, do this:

cd /usr/ports/devel/py-setuptools  make install clean

You should be all set, and any other Python port that you install will
use the Python 2.6 installation, assuming you installed it from the
ports tree.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk5YOOIACgkQ0sRouByUApBG4ACgmgHUk1RhOzADvpgt8FaTOSSf
OioAn0k/PSJ6KlUrhy/rXFSJAiniHEeY
=29ZS
-END PGP SIGNATURE-
___
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: Installing Python Packages

2011-08-26 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 8/26/11 8:24 PM, d...@safeport.com wrote:
 On Fri, 26 Aug 2011, Greg Larkin wrote:
 
 On 8/26/11 8:07 PM, doug wrote:
 I am teaching myself python and have 2.6 installed. What is the proper
 way to install py26-setuptools? As 2.7 is the default it appears that I
 can neither use pkg_add nor build from the ports tree.

 I can download the source and the 2.6 egg. It appears that I need to
 configure the egg for FreeBSD. Is that correct?


 Hi Doug,

 You can do this easily by using the ports tree.  First, add the
 following to your /etc/make.conf (create the file if necessary):

 PYTHON_DEFAULT_VERSION=python2.6

 Next, do this:

 cd /usr/ports/devel/py-setuptools  make install clean

 You should be all set, and any other Python port that you install will
 use the Python 2.6 installation, assuming you installed it from the
 ports tree.

 Hope that helps,
 Greg
 
 Great - I am sure it will, thank you.
 
 Where does one find all these 'magic' make variables?

Hi Doug,

The best place to start is by looking through the files
/usr/ports/Mk/*.mk.  In the header comment of each .mk file, you'll find
a long list of variables and what they are used for.

Some of the variables are only useful in the context of a port Makefile,
but other ones like PYTHON_DEFAULT_VERSION are used in /etc/make.conf.
At the moment, I don't know if there's an easy way to enumerate all
variables of the latter type, but that would be a good project.

I use things like:

NOPORTDOCS=yes
NOPORTEXAMPLES=yes
NO_X11=yes

in /etc/make.conf when building server images.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEUEARECAAYFAk5YYboACgkQ0sRouByUApA0WACeKqc/nO43eTesrdF1WiiKh0qA
+oUAmM+tzYNhbXSJ+VtKdRM8CWmL/Is=
=e/fR
-END PGP SIGNATURE-
___
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: mysql_connect error

2011-06-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 6/14/11 10:49 AM, Glenn McCalley wrote:
 
 - Original Message - From: Damien Fleuriot m...@my.gd
 To: freebsd-questions@freebsd.org
 Sent: Tuesday, June 14, 2011 10:35 AM
 Subject: Re: mysql_connect error
 
 
 On 6/14/11 2:46 PM, Glenn McCalley wrote:
 Seen other people have this problem but cannot get their resolutions to
 work for me.

 Fatal error: Call to oundefined function mysql_connect() in etc., etc.

 This began happening after an upgrade to php5 using the portmaster
 program.
 phpinfo page does -not- show the mysql_connect function anywhere.
 phpinfo page is at www9.bnetmd.net/index.php if you have the desire to
 look.

 Suggestions from lists/boards seem to all point to mysql.so not being in
 the php library, yet a find shows it is in there.

 pkg_info shows php5-mysql-5.3.5  The mysql shared extension for
 php

 extensions.ini shows extension=mysql.so

 Is there anywhere/anything else to look/do?

 Thanks!
 Glenn.




 If I were you, I would reinstall the php5 mysql extension like so:


 cd /usr/ports/lang/php5-extensions
 make config
 # make sure you tick the MYSQL option
 make clean
 make
 make deinstall  make reinstall


 Then, restart your web server or PHP FCGI process, as applicable.

 You should be cool.

 Thanks Damien,
 
 Did so, mysql definitely checked, no help.  I did see that gd was not
 checked so checked that, did the make process and that cured another
 problem so I'd say the reinstall did in fact take.
 
 The error happens when being run from the command line.  Does that make
 a difference?
 
 Glenn.

Hi Glenn,

Try running this command in your shell:

php -i | grep -i php.ini

Does the reported path match the one reported by your phpinfo page
(viewed in the web browser)?  Also, is it possible you have multiple php
executables installed?  What is the output of the following commands?

which php
pkg_info -L php5-5\*

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk33fYwACgkQ0sRouByUApBPBACfZLyTSRQfGuFR6kg9IYts2pmJ
B7gAn3CieUC57U0rOfsvIo+ZddtCltaZ
=1Zbg
-END PGP SIGNATURE-
___
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: src upgrading jails (no ezjail, no service jails)

2011-06-01 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/31/11 11:00 PM, Aleksandr Miroslav wrote:
 I have 4 jails that are running 8.2-RELEASE that I would like to upgrade.
 
 The host system, which was also running 8.2-RELEASE, has been
 successfully upgraded to 8.2-p2. I have /usr/src ready with the new
 world and new kernel.
 
 I did not create the jails using ezjails, so I cannot use that utility
 to upgrade it.
 
 I did not create the jails using the template method described in
 Handbook (section 15.6.1.2), so the method recommended to upgrade
 them, i.e.:
 
 
 http://www.freebsd.org/doc/handbook/jails-application.html#JAILS-SERVICE-JAILS-UPGRADING
 
 would not work for me.
 
 What is the proper way for me to upgrade these jails?
 
 thanks,
 Alex

Hi Alex,

You can do this:

cd /usr/src
make installworld DESTDIR=jaildir1
make distribution DESTDIR=jaildir1
...
...
make installworld DESTDIR=jaildirN
make distribution DESTDIR=jaildirN

Then restart your jails.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3mOp0ACgkQ0sRouByUApAvyQCfYDh/dwd5/PB2zElwPuz1NC+D
I8kAoJ+tS9UaQqMDHmxophZ8F+dBuMuI
=eiBQ
-END PGP SIGNATURE-
___
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: Urgent: Under attack - need tcpdrop help

2011-05-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/24/11 4:48 PM, Andy Wodfer wrote:
 Thanks!
 That would work on all my servers except this one .. which runs 6.3 STABLE
 (due to some old services requiring old software).
 
 Any other suggestions?
 
 Thanks!
 
 Andy
 

Ok, here goes:

netstat -an | grep ^tcp | grep -v LISTEN | awk '{ print $5 }' | egrep -v
'^(172\.16|192\.168|127\.0)' | cut -f1-4 -d\. | awk '{ a[$1]++ } END {
for (i in a) { if (a[i]  10) { print i; } } }' | xargs -n1 -I % sh -c
'sockstat -c | grep %' | awk '{ print $6   $7 }' | sed -e 's/:/ /g' -e
's/^/tcpdrop /'

Paste that all on one line, and it should print (but not execute!)
tcpdrop commands for IPs that have more than 10 connections to your
server.  The commands will work on 6.x and later versions of the OS,
since it doesn't use tcpdrop -l -a.

If you like the output and want to actually run the tcpdrop commands,
add | sh to the end of the pipeline.

YMMV, because I didn't actually execute the commands. I just printed the
tcpdrop commands, and they looked good.

Good luck,
Greg

 
 On Tue, May 24, 2011 at 10:42 PM, Greg Larkin glar...@freebsd.org wrote:
 
 On 5/24/11 4:29 PM, Andy Wodfer wrote:
 Hi,
 One of my FreeBSD servers is currently being attacked (DDOS) and I'm
 blocking IP addresses in my firewall. However, there are a large number
 of
 hung tcp connections and I want them gone.

 Can anyone help me with a script (command line) that can read a netstat
 -n
 and tcpdrop all IP addresses that has more than 10 connections or a more
 manual command where I can input an IP and it will drop all connections
 from
 that IP regardless of port?

 Thanks in advance!

 Shell scripting isn't what I'm best at unfortunatly ...

 Andy
 
 Hi Andy,
 
 This will drop all connections to/from IP address 192.168.22.22:
 
 tcpdrop -l -a | grep 192.168.22.22 | sh
 
 Just substitute your desired IP address, and that will do the trick.
 
 Good luck,
 Greg

 ___
 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

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3cHIkACgkQ0sRouByUApDFdQCgtAPatfLnJP7/r2d/OBhy/P9T
VJsAn3mWXgqG4GTa9GzuUuH2pDm4JPbz
=27Nl
-END PGP SIGNATURE-
___
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: Established method to enable suid scripts?

2011-05-11 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/11/11 12:31 PM, Alejandro Imass wrote:
 On Wed, May 11, 2011 at 10:14 AM, Jerry McAllister jerr...@msu.edu wrote:
 On Tue, May 10, 2011 at 05:54:04PM -0700, Chris Telting wrote:

 I've googled for over an hour.
 
 As other have said suiding on scripts is not allowed in modern
 versions of Unix. What I do for example, is create small C programs
 suid them and use those special suid execs to do special stuff. For
 example, if I need to erase some files created by the mysql daemon
 process I will create a C exec called suidrm and have it suid to the
 mysql owner so I can remove the temp files from an Apache CGI for
 example. Any suid exec should be carefully evaluated and meant for one
 specific thing, and avoid suiding to root if at all possible. If you
 must you can copy the exec with a different name and suid it for a
 specific purpose with a specific user, preferably not root.
 
 Anyway, with the simple C program wrapper approach I have solved many
 things like what you're trying to do.
 
 Best,
 
 --
 Alejandro Imass

To the OP and others - you'll find tons of hits for setuid wrapper in
Google
(http://www.google.com/search?q=setuid+wrapperie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a),
but be very careful if you decide to compile one of them for use in your
environment.

It might be worth checking out some of the Apache suEXEC documentation
to understand all of the security checks they have implemented:
http://httpd.apache.org/docs/2.2/suexec.html

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3KveUACgkQ0sRouByUApBP6wCeOuMVod5erYOtYQqTDVmgcmaP
fdsAoMUMrPkJWvs2ZZEOMMgmVBu2xlcv
=h1f6
-END PGP SIGNATURE-
___
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: ld-elf.so.1 Shared object libkipi.so.7 not found

2011-05-06 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 5/5/11 3:58 PM, Michael wrote:
 Hello,
 
 I'm having hard times with digikam. It used to work properly but then,
 after one of the updates (I'm not able to track it) it stopped.
 
 When I try to run digikam I'm getting this error message:
 
 /libexec/ld-elf.so.1: Shared object libkipi.so.7 not found, required
 by digikam
 
 I've tried to rebuild digikam and all dependencies but it's still the
 same. My ports tree is updated. I'm running FreeBSD 8.2-R on amd64 and
 digikam-kde4 port.
 
 Any ideas please?
 
 Michael
 ___
 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

Hi Michael,

Can you rebuild digikam, capture all of the output and post it here so
we can see what's going on during the configuration stage?

I started a build here, and it was happy with the libkipi that it found
in /usr/local/kde4/lib/libkipi.so.8.  It's still in progress, so maybe
it still won't run, but it would be helpful to see your build output anyway.

Regards,
Greg

- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/cpucycle/  - Follow you, follow me
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk3EPakACgkQ0sRouByUApAUcgCgrE0IgbPxrenEHzwIzKlbkY+L
DpYAn2gg0RC6HY78O/OtjPDC455o3lrY
=aW3I
-END PGP SIGNATURE-
___
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: Admin-tools for BIND DNS?

2011-04-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/21/11 1:56 PM, Ewald Jenisch wrote:
 Hi,
 
 I'm looking for graphical tools easing configuration of a bind
 DNS-server. Ideally this tool should be capable of editing
 IPv6-related records like  too.
 
 Is there anything available out there for FreeBSD (I already checked
 the ports collection, but couldn't find anything).
 
 Thanks much in advance for any clue,
 -ewald
 

Hi Ewald,

I didn't check if any of these are already part of the ports tree, but
there's a decent selection of tools here.

http://www.debianhelp.co.uk/bindweb.htm

If you use one and like it, please consider creating and submitting a
port for it.

Cheers,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2weFwACgkQ0sRouByUApCqQgCeKMUsSRkuSTnm1FJIUFycxyRw
rqAAn3ecxGeY1XtAunroJGmMsrb/7VcK
=SKAt
-END PGP SIGNATURE-
___
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: Modifying Sendmail's Configuration the Correct way.

2011-04-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/20/11 2:47 PM, Martin McCormick wrote:
   The /etc/mail/sendmail.cf file very clearly tells one
 not to edit it directly so I edited the
 /etc/mail/my.name.domain.mc file as stated in documentation to
 cause this system to send all out-bound mail through a smart host.
 
   The .mc file part that adds the smart host looks like:
 
 dnl Dialup users should uncomment and define this appropriately
 dnl define(`SMART_HOST', `your.isp.mail.server')
 define(`SMART_HOST', `mailserver.okstate.edu')
 
   After that, I did a make in that directory and things
 seemed to go well. After restarting sendmail, it still wanted to
 resolve normally and not use the gateway.
 
   The only way we could get it to behave as desired was to
 do what one is not supposed to do and edit sendmail.cf and add
 the mailserver.okstate.edu name right against the line beginning
 with DS
 
   After another restart, everything worked. What am I
 failing to do as this is not the proper way to reconfigure
 sendmail?
 
 The DS line in the master file looks like
 
 DSmailserver.okstate.edu
 
   Many thanks and the handbook is very helpful but I
 haven't seemed to run across anything that directly addresses
 this situation.

Hi Martin,

Try these commands, and the sendmail.cf will be updated from the .mc file:

edit .mc file
make install
make restart

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2vNisACgkQ0sRouByUApDFLQCfcnoA8rbGxi5NunLjKlnfaxSS
E7sAmweUPxSIHqkU6crW8Qjxmp8+Nmf8
=bO3y
-END PGP SIGNATURE-
___
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: Subversion over SSH works through GIT but not with SVN

2011-04-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 4/20/11 7:21 AM, Michael Grünewald wrote:
 Hi all,
 
 I have recently discovered that by subversion client (1.16_2) is not
 able any more to access my subversion accounts over svn+ssh (with key
 based authentication).  It seems very odd to me, because in the same
 time git can access these accounts (with the git svn command) and commit
 to these repositories!
 
 I am here absolutely clueless, so I would welcome your insights and your
 help!
 
 I set up `SVN_SSH' to `ssh -vv' in order to get a little more feedback
 than the `connexion unexpectedly closed' that subversion gave me.  Here
 is an exceirpt of the successful svn+ssh authentication achieved by git
 svn:
 
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug2: key: /home/michael/.ssh/id_rsa (0x801a61680)
 debug2: key: /home/michael/.ssh/id_dsa (0x0)
 debug1: Authentications that can continue: publickey
 debug1: Next authentication method: publickey
 debug1: Offering public key: /home/michael/.ssh/id_rsa
 debug2: we sent a publickey packet, wait for reply
 debug1: Server accepts key: pkalg ssh-rsa blen 277
 
 on the pure svn side I have instead
 
 debug1: SSH2_MSG_SERVICE_ACCEPT received
 debug2: key: /home/michael/.ssh/id_rsa (0x801a61660)
 debug2: key: /home/michael/.ssh/id_dsa (0x0)
 debug1: Authentications that can continue: publickey
 debug1: Next authentication method: publickey
 debug1: Offering public key: /home/michael/.ssh/id_rsa
 debug2: we sent a publickey packet, wait for reply
 debug1: Authentications that can continue: publickey
 debug1: Trying private key: /home/michael/.ssh/id_dsa
 debug2: we did not send a packet, disable method
 
 (this is the point were the two transcripts start to disagree).  I do
 not know what is the hex value after the name of the file containing my
 private key, but it semms weird to me that the two runs give here
 different results!  Do you see a symptom related to my problem?

Hi Michael,

I think the hex value discrepancy is significant, but I'm not yet sure
why the value changes.  The private key filename looks the same.  When I
run into problems like this, I first start by eliminating the
application connecting through ssh and just try a standard ssh
connection like so:

ssh -vvv -l username hostname

You may also want to add -i ~/.ssh/id_rsa to the command line to see
if that changes anything.  If you authenticate successfully with that
command, then check the ~/.subversion/config file for suspect entries in
the [tunnels] section.

Finally, if all else fails, I run commands through truss or strace to
see if there are any strange errors generated by system calls, like a
missing library or config file, or an unexpected chdir() or chroot().

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2vROsACgkQ0sRouByUApDzZwCfaQ1TPWXr4YFNKRhE792XXR3o
LBMAnjWrw8Y+DqZnAz9YJqP/Qh9lS7uX
=wtcF
-END PGP SIGNATURE-
___
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: Automating mounting of ISO images

2011-03-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/23/11 2:49 PM, Ryan Coleman wrote:
 I have a folder full of ISOs that we're sharing on the network instead of 
 having the discs available (seems like a good idea, right?)
 
 But I want to automate the process on boot instead of having to write a 
 static script  to do the work.
 
 Disc images are located in /mount/disc_images/ (all are ISOs)
 They need to mount into /mount/office_files/images/FILENAME [without the .iso 
 extension]
 
 How can I do this? I've always been given these types of scripts in the past 
 at an old job but I don't have access to those examples anymore.

Hi Ryan,

You can put something like this in /etc/rc.conf to get the device files
created automatically:

mdconfig_md0=-t vnode -f /mount/disc_images/Image1.iso
mdconfig_md1=-t vnode -f /mount/disc_images/Image2.iso
mdconfig_md2=-t vnode -f /mount/disc_images/Image3.iso

Because these devices (/dev/md0, /dev/md1, /dev/md2) will be created
before /etc/fstab is processed, you can then add the following entries
in that file:

/dev/md0/mount/office_files/images/Image1cd9660ro00
/dev/md1/mount/office_files/images/Image2cd9660ro00
/dev/md2/mount/office_files/images/Image3cd9660ro00

Check out the rc(8) man page (http://bit.ly/fuwn5n) for more information
about how the startup scripts work, as well as the one that processes
the device creation directives above - /etc/rc.d/mdconfig

Finally, you can always add your own custom startup scripts to
/usr/local/etc/rc.d if you need to do something that the standard
startup scripts can't handle.

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk2KTn4ACgkQ0sRouByUApCAiwCfZzO8jnaKIFxuOoZotU8Ac49I
MMIAni1KMFDqLe1YeMaS/LZUsgrV1PfY
=JUk3
-END PGP SIGNATURE-
___
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: Buildworld fail

2011-03-08 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 3/8/11 8:59 AM, Damien Fleuriot wrote:
 
 
 On 3/8/11 12:54 PM, Erik Norgaard wrote:
 On 08/03/2011 12:49, Damien Fleuriot wrote:

 Can you try with the release tag RELENG_8_2 ?

 I just nuked src and obj and did a fresh checkout of RELENG_8_2, but the
 problem persist :(

 --
 stage 1.1: legacy release compatibility shims
 --
 cd /usr/local/src; MAKEOBJDIRPREFIX=/usr/local/obj/usr/local/src/tmp
 INSTALL=sh /usr/local/src/tools/install.sh
 PATH=/usr/local/obj/usr/local/src/tmp/legacy/usr/sbin:/usr/local/obj/usr/local/src/tmp/legacy/usr/bin:/usr/local/obj/usr/local/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
  WORLDTMP=/usr/local/obj/usr/local/src/tmp  VERSION=FreeBSD 8.1-STABLE
 i386 801500  MAKEFLAGS=-m /usr/local/src/tools/build/mk  -m
 /usr/local/src/share/mk make -f Makefile.inc1  DESTDIR=
 BOOTSTRAPPING=801500  SSP_CFLAGS=  -DWITHOUT_HTML -DWITHOUT_INFO
 -DNO_LINT -DWITHOUT_MAN  -DNO_PIC -DWITHOUT_PROFILE -DNO_SHARED
 -DNO_CPU_CFLAGS -DNO_WARNS -DNO_CTF legacy
 === tools/build (obj,includes,depend,all,install)
 /usr/local/obj/usr/local/src/tmp/usr/local/src/tools/build created for
 /usr/local/src/tools/build
 cd /usr/local/src/tools/build; make buildincludes; make installincludes
 rm -f .depend
 mkdep -f .depend -a
 -I/usr/local/obj/usr/local/src/tmp/legacy/usr/include
 /usr/local/src/tools/build/dummy.c
 built-in:0: internal compiler error: Segmentation fault: 11
 Please submit a full bug report,
 with preprocessed source if appropriate.
 See URL:http://gcc.gnu.org/bugs.html for instructions.
 mkdep: compile failed
 *** Error code 1

 Stop in /usr/local/src/tools/build.
 *** Error code 1

 Stop in /usr/local/src.
 *** Error code 1

 Stop in /usr/local/src.
 *** Error code 1

 Stop in /usr/local/src.
 
 
 A segfault might be indicative of hardware problems, you may want to
 check your ram chips ?

Reference: http://www.bitwizard.nl/sig11/

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk12QrUACgkQ0sRouByUApCv8gCfW5VAxdQMxBODVIGb48VeyTuC
3HMAniBloVnLvDYygjb4xYNTlMcxG6T4
=N82F
-END PGP SIGNATURE-
___
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: Cannot build jdk16

2011-03-05 Thread Greg Lewis
On Fri, Mar 04, 2011 at 07:51:40PM +0300, Ruslan Mahmatkhanov wrote:
 04.03.2011 14:23, Redd Vinylene ??:
  Hello!
 
  /usr/ports/java/jdk16 instructs me to manually fetch
  tzupdater-1_3_34-2010o.zip and put it in /usr/ports/distfiles - this file
  however is no longer available and has been replaced by
  tzupdater-1_3_35-2011b. So what's the best way of installing jdk16 despite
  of this? Rename tzupdater-1_3_35-2011b to tzupdater-1_3_34-2010o.zip and
  make -DNO_CHECKSUM?
 
  Many thanks!
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=155270

...was committed earlier today.

-- 
Greg Lewis  Email   : gle...@eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology  FreeBSD : gle...@freebsd.org
___
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: setting up svn server - Connection refused

2011-02-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/25/11 4:23 AM, Anton Shterenlikht wrote:
 I'm learning how to set up svn server.
 I've read through several sections of
 http://svnbook.red-bean.com/nightly/en/
 
 Here's what I do:
 
 ZEEV svnadmin create /home/mexas/zzz
 ZEEV svnlook info zzz
 
 2011-02-25 09:15:28 + (Fri, 25 Feb 2011)
 0
 ZEEV svnserve -d
 ZEEV ps ax | grep svnserve
 66952  ??  Ss 0:00.01 /usr/local/bin/svnserve.bin -d
 ZEEV mkdir /home/mexas/zzz.work
 ZEEV cd /home/mexas/zzz.work/
 
 When I try to connect to the svn server, I get this:
 
 
 ZEEV svn co svn://localhost/home/mexas/zzz .
 svn: Can't connect to host 'localhost': Network is unreachable
 ZEEV svn co svn://10.10.10.14/home/mexas/zzz .
 svn: Can't connect to host '10.10.10.14': Connection refused
 
 ZEEV ifconfig em1
 em1: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500
 
 options=209bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC
 ether 00:13:21:5b:05:1d
 inet 10.10.10.14 netmask 0xff00 broadcast 10.10.10.255
 inet6 fe80::213:21ff:fe5b:51d%em1 prefixlen 64 scopeid 0x5 
 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL
 media: Ethernet autoselect (100baseTX full-duplex)
 status: active
 ZEEV 
 
 I get exactly the same Connection refused if I
 connect from another host.
 
 I turned the firewall off completely.
 
 What could be the problems?
 
 Many thanks
 Anton
 

Hi Anton,

The first place that I'd start is checking if the TCP port for svnserve
is listening for connections:

netstat -an | grep 3690

If it isn't, then something is not working correctly when svnserve
starts in daemon mode.  If it is listening, then something is still
blocking the connection from your svn client to the TCP port.

The fact that you're getting a localhost: Network is unreachable error
is strange.  What is the output of /sbin/ifconfig -a and netstat -rn?

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1nuYIACgkQ0sRouByUApAhIACeOBk9/CGcoj3rsg49P97u8ql3
LnYAoMTjq71cLafJi/NACTU4gIsB2VOE
=XTJF
-END PGP SIGNATURE-
___
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: setting up svn server - Connection refused

2011-02-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/25/11 9:32 AM, Anton Shterenlikht wrote:
[...]
 
 
 Many thanks for your help, Greg.
 
 However, following David Kelly's advice,
 I switched to svn+ssh, and that seems
 to work fine. Nevertheless, I'm curious
 to find out why svnserve is not working
 as expected. 
 
 Anton
 

Hi Anton,

Frank Shute mentioned /etc/hosts.allow in his reply. Is there anything
in that file that prevents the connection to TCP port 3690?

Otherwise, I didn't see anything in the output of your commands that
indicate a problem.  When I have a problem like this, I often run the
failing command under truss(1) or strace to help me determine why a
connection fails or a file cannot be opened.  That may help, but I'm
glad svn+ssh:// is working in the mean time.

Cheers,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1nw+oACgkQ0sRouByUApBfeACeJtju9Tif9Rsxv5DEnO710xnq
1nwAoMH/ECMlKOdJ6NYawQJozohp50yJ
=7DbG
-END PGP SIGNATURE-
___
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: Help: Looking to contact someone running FreeBSD on ESX

2011-02-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/25/11 12:52 PM, Mark Felder wrote:
 Hi all,
 
 We have quite a few BSD VMs on our infrastructure and are having some
 issues with our main webservers. They die randomly -- ESX shows
 high/100% CPU the exact moment it dies (very, very low up until that
 point), the console takes keyboard input but doesn't really do anything
 or switch VTs, and the server is pingable, but does nothing. We have to
 hard reboot. This has been going on for a while and we moved the VMs off
 our iSCSI SAN and onto local storge and it's happening still. (Found a
 few configuration issues with our SAN; thought it was the issue with
 preferred paths being problematic, etc). We really need to contact
 someone else who has had success and find out what's different about
 their environment.
 
 I'd like to note that we're still on ESX 4.0 (and behind a bit there)
 because our SAN wouldn't support 4.1 until recently and we haven't had
 time to switch.
 
 Personally, I'm convinced this is an ESX issue because BSD never panics
 and there's never anything reported on the console when this happens.
 I'd really like to hear from someone who has been running FreeBSD in
 production on ESX without issues and hopefully they could describe their
 setup so we can begin to compare issues.
 
 A few relavent things to note:
 
 The ones that crash are usually our main webservers (Apache, PHP, no
 MySQL locally though). We have LOTS of IPs on them and they do a ton of
 network traffic, but usually don't have a super high load average (maybe
 .75 - 1.0 on a normal day?). Currently we're running 8.1-RELEASE on them.
 
 As I said, they're on local storage right now, but they were on iSCSI to
 Dell MD3000i SANs (booo, hisss, we're dumping them so dont worry)
 
 ESX servers are a mix of Dell and HP
 
 Can't think of many more details.
 
 Thanks everyone.
 
 Mark

Hi Mark,

Are there any relevant messages logged in /var/log/messages prior to the
FreeBSD hard reboot?

I haven't used watchdogd(8) (http://bit.ly/eKHUEN) before, but I wonder
if it would help you by firing some data logging command (-e option) so
you have some information to go on.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1n/9EACgkQ0sRouByUApBdoQCgtq2MMP+xidLoFc5JEkEaRyN5
H8wAoIGrgMd5dx2QvambZeR0l1SEptkK
=EoiA
-END PGP SIGNATURE-
___
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: Help: Looking to contact someone running FreeBSD on ESX

2011-02-25 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2/25/11 3:00 PM, Mark Felder wrote:
 On Fri, 25 Feb 2011 13:15:29 -0600, Greg Larkin glar...@freebsd.org
 wrote:
 
 I haven't used watchdogd(8) (http://bit.ly/eKHUEN) before, but I wonder
 if it would help you by firing some data logging command (-e option) so
 you have some information to go on.
 
 That actually looks like a great solution, but I currently cannot
 recompile the kernel to enable SW_WATCHDOG and take those servers down.
 We have identical hardware in a test environment that I can do that on
 and hopefully see if we can get a clone of the problematic VMs to fail
 there with the watchdogd enabled.
 
 Thanks,
 Mark

Hi Mark,

That sounds good, and please post any further information so someone
else can help you troubleshoot further.

Here are some other questions for you to ponder:

- - What appears in the Apache access  error logs just before a freeze
occurs?

- - Are you using any unusual Apache config file settings or modules? How
about for PHP?

- - Are all of your installed ports up to date?

- - Have you done any Apache or PHP performance tuning using
http://httpd.apache.org/docs/2.2/misc/perf-tuning.html or
http://phplens.com/lens/php-book/optimizing-debugging-php.php as
starting points?

- - Have you enabled a PHP log file to record errors, warnings, etc.
generated by your application code?

Hope that helps,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1oGosACgkQ0sRouByUApAQOgCfW47AXRKSCuj2ftZJSQubVEPw
w54Ani/7k+SNvR4JllG5wJXQSmBE90Be
=1PvS
-END PGP SIGNATURE-
___
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: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-24 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/21/11 1:59 PM, Chris Brennan wrote:
 On Fri, Jan 21, 2011 at 11:02 AM, Greg Larkin glar...@freebsd.org wrote:
 
 Hi Chris,

 Please post some compiler output with the error message here, and that
 might help someone troubleshoot the problem.


 I ran portmaster -a again this morning *just* so I could reproduce this
 error :D
 
 checking whether Python support is requested... checking whether
 /usr/local/bin/python2.6 version = 2.5... yes
 checking for /usr/local/bin/python2.6 version... 2.6
 checking for /usr/local/bin/python2.6 platform... freebsd7
 checking for /usr/local/bin/python2.6 script directory...
 ${prefix}/lib/python2.6/site-packages
 checking for /usr/local/bin/python2.6 extension module directory...
 ${exec_prefix}/lib/python2.6/site-packages
 checking for headers required to compile python extensions... not found
 configure: error: Python headers not found
 ===  Script configure failed unexpectedly.
 Please run the gnomelogalyzer, available from
 http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
 problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
 solve the problem, report the build failure to the FreeBSD GNOME team at
 gn...@freebsd.org, and attach (a)
 /usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/config.log,
 (b) the output of the failed make command, and (c) the gnomelogalyzer
 output.
 Also, it might be a good idea to provide an overview of all packages
 installed
 on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
 website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
 send-pr(1) with the attachment. Try to avoid sending any attachments to the
 mailing list (gn...@freebsd.org), because attachments sent to FreeBSD
 mailing
 lists are usually discarded by the mailing list software.
 *** Error code 1

Hi Chris,

The config.log file should provide some clues, and from time to time, I
have seen spurious problems occur in the configure phase during port
building.

It can be caused by a number of things, and the config.log file should
provide clues.  For instance, this looks suspect:

 checking for /usr/local/bin/python2.6 script
directory...${prefix}/lib/python2.6/site-packages
 checking for /usr/local/bin/python2.6 extension module
directory...${exec_prefix}/lib/python2.6/site-packages

I'm not 100% sure, but I would expect ${prefix} and ${exec_prefix} to be
replaced with /usr/local in each of those messages.  That might indicate
a misconfiguration in your build system or an error in the port.

[...]

 Like I said before, it's a similar issue relating to python, but I think
 there are still larger implications here about the move from py25 to py26. I
 followed /usr/ports/UPDATING first when it came to python and things still
 took a hike on me. Now if I use either the portmaster or portupgrade options
 mentioned in /usr/ports/UPDATING it still dies, on either devel/py-dbus
 or devel/gobject-introspection, both with the same error, I followed the
 instructions and gnomelogalyzer.sh wasn't all that helpful.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk096E0ACgkQ0sRouByUApB09ACgqr36hZJNUH+fefwOWRfO2FCb
jL8AnA5W32p/OmSM9BiRCwmjJAHAKfCv
=l3MD
-END PGP SIGNATURE-
___
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: Can't open serial line /dev/cuaa0: no such file or direcotry (2)

2011-01-23 Thread Greg 'groggy' Lehey
[format recovered]

On Friday, 21 January 2011 at  0:04:12 +, Mike Adams wrote:
 To whom it may concern: I'm using a programme called tempcontrol
 from Greg Lehey on a Dell pentium running BSD 6.

Do you mean FreeBSD 6.x?  I'm assuming so in the following.

 When I run the programme, I get the above error.  ls /dev shows that
 there is no cuaa0, only cuad0.  I see that this was changed to
 standardize naming conventions.  I've tried sh makedev cuaa0, but
 get the errorCan't open makedev: no such file or directory.

makedev is obsolete.

 I should be most grateful if someone can get me over this problem

The device you're looking for is either /dev/ttyd0 or (probably)
/dev/cuad0.  Quite possibly either would work.  Set it in your
temperaturecontrolrc file.  Let me know if it works, and I'll update
the sources.

On Friday, 21 January 2011 at 12:51:25 +0100, Polytropon wrote:
 On Fri, 21 Jan 2011 00:04:12 +, Mike Adams mike.adams2...@gmail.com 
 wrote:

 I've tried sh makedev cuaa0, but get the errorCan't open
 makedev: no such file or directory.

 I think sh MAKEDEV would be the correct call.

From MAKEDEV(8):

DESCRIPTION
 The MAKEDEV script was deprecated by devfs(5) and removed from FreeBSD
 after devfs(5) became mandatory.

Basically, it can't work because the meaning of major and minor
numbers has changed.

 You could try to add a line like

   linkcuad0   cuaa0

 to /etc/devfs.conf and then

   # /etc/rc.d/devfs restart

That would be the wrong solution.  Programs that come in source can be
modified, and in this case the program provides for alternative device
names.

 but I may be possible that the program you're intending to use does
 require the conventional serial driver ...

I'm not aware of any such program.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.
This message is digitally signed.  See
http://www.lemis.com/grog/email/signed-mail.php for more details.
If your Microsoft MUA reports problems, please read
http://tinyurl.com/broken-mua


pgpjN45nj0Hgs.pgp
Description: PGP signature


Re: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/21/11 12:41 AM, Chris Brennan wrote:
 On Thu, Jan 20, 2011 at 9:35 PM, Greg Larkin glar...@freebsd.org wrote:
 
  Hi David,

 What is the output of the command pkg_version -vL=?  Can you build
 libsoup successfully in a clean jail (no ports installed) with an
 up-to-date ports tree?

 - From what I've seen by Googling the error message ImportError: No
 module named _md5, you likely have a broken Python 2.6 installation.
 Can you pkg_delete it and reinstall it as well, assuming you don't have
 a boatload of ports that depend on it?

 Regards,
 Greg

 
  Don't meant to hijkack this thread but my issue is slightly related. I.e.
 broken Python :( I've built and rebuild Python26 and migrated everything I
 can think of that depended on Py25 - Py26 and stuff still goes boom.
 Horrible booms too! Most notably it's gobject-introspection and py-dbus and
 so much depends on these that I'm about to throw the switch on this box and
 start over again. When it does it claims it can't find the py26 headers
 tho what gives?

Hi Chris,

Please post some compiler output with the error message here, and that
might help someone troubleshoot the problem.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk05rh0ACgkQ0sRouByUApCX/wCghx+vAZtG4vi0LAepjBY8E6dW
xRsAoJP26O71ZBJNBl+l4gEllv43yJ8O
=KaQf
-END PGP SIGNATURE-
___
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: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/20/11 5:39 PM, David Southwell wrote:
[...]
 deleted gobject-introspection
 Got the similar error messages--
 
 Traceback (most recent call last):
   File ../tools/g-ir-scanner, line 43, in module
 from giscanner.scannermain import scanner_main
   File /usr/ports/devel/gobject-introspection/work/gobject-
 introspection-0.9.12/giscanner/scannermain.py, line 34, in module
 from giscanner.dumper import compile_introspection_binary
   File /usr/ports/devel/gobject-introspection/work/gobject-
 introspection-0.9.12/giscanner/dumper.py, line 26, in module
 from .gdumpparser import IntrospectionBinary
   File /usr/ports/devel/gobject-introspection/work/gobject-
 introspection-0.9.12/giscanner/gdumpparser.py, line 30, in module
 from .transformer import TransformerException
   File /usr/ports/devel/gobject-introspection/work/gobject-
 introspection-0.9.12/giscanner/transformer.py, line 26, in module
 from .cachestore import CacheStore
   File /usr/ports/devel/gobject-introspection/work/gobject-
 introspection-0.9.12/giscanner/cachestore.py, line 24, in module
 import hashlib
   File /usr/local/lib/python2.6/hashlib.py, line 136, in module
 md5 = __get_builtin_constructor('md5')
   File /usr/local/lib/python2.6/hashlib.py, line 63, in 
 __get_builtin_constructor
 import _md5
 ImportError: No module named _md5
 gmake[2]: *** [GLib-2.0.gir] Error 1
 gmake[2]: Leaving directory `/usr/ports/devel/gobject-
 introspection/work/gobject-introspection-0.9.12/gir'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/devel/gobject-
 introspection/work/gobject-introspection-0.9.12'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/devel/gobject-introspection.
 *** Error code 1
 
 Stop in /usr/ports/devel/libsoup.

Hi David,

What is the output of the command pkg_version -vL=?  Can you build
libsoup successfully in a clean jail (no ports installed) with an
up-to-date ports tree?

- From what I've seen by Googling the error message ImportError: No
module named _md5, you likely have a broken Python 2.6 installation.
Can you pkg_delete it and reinstall it as well, assuming you don't have
a boatload of ports that depend on it?

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk048OEACgkQ0sRouByUApCN9wCfbGxNGFs7Nx033a14MtFTxs/u
aMMAmwSAR9KeYxpZUQIkieiJjwxmWeIB
=Czhr
-END PGP SIGNATURE-
___
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: devel/libsoup-2.32.2 Compile error _md5 problem

2011-01-19 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 1/19/11 12:04 PM, David Southwell wrote:
 
 Thanks in advance for help with this one:
 
  File /usr/local/bin/g-ir-scanner, line 43, in module
 from giscanner.scannermain import scanner_main
[...]
   File /usr/local/lib/python2.6/hashlib.py, line 136, in module
 md5 = __get_builtin_constructor('md5')
   File /usr/local/lib/python2.6/hashlib.py, line 63, in 
 __get_builtin_constructor
 import _md5
 ImportError: No module named _md5
 gmake[3]: *** [Soup-2.4.gir] Error 1
 gmake[3]: Leaving directory 
 `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory 
 `/usr/ports/devel/libsoup/work/libsoup-2.32.2/libsoup'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory `/usr/ports/devel/libsoup/work/libsoup-2.32.2'
 gmake: *** [all] Error 2
 *** Error code 1
 
 Stop in /usr/ports/devel/libsoup.
 *** Error code 1
 David

Hi David,

Is devel/gobject-introspection up to date?  Do you get this same error
if you install devel/libsoup into a box without any ports installed on
it.  You can easily set up a testbed by using a jail to do that.

If nothing else depends on gobject-introspection, you could always
pkg_delete it and then restart the libsoup build.  It would be
interesting to know if that eliminates the error or not.

Regards,
Greg
- -- 
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk03qHQACgkQ0sRouByUApBmuACfcGeo+Z75YURX4/HwHy6HgoB5
A0oAn0dKm0tLGelA9qpFeKKv4/duYXwM
=daz/
-END PGP SIGNATURE-
___
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: Not Sure Which Package has mssql_connect.

2010-09-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Martin McCormick wrote:
 I just upgraded a system from FreeBSD6.3 to 8.1 and only have 2
 loose ends so far.
 
   One is that I discovered some of my C code needs a
 little touching up to continue to work right and the other is
 that we have an application on our system that uses freetds and
 makes mysql queries and presently gives me the following error:
 
 Fatal error: Call to undefined function mssql_connect() in 
 
 Line number of script is given and that line reads:
 
 $numero= mssql_connect(sql , natreg1 , PASSWD );
 
   As soon as I find out what port or package contains
 mysql_connect, we should be back in business.
 
   I did install mysql50-client. It does not contain the
 mysql_connect routine so I deleted it. I installed the port
 called mysql-connector-odbc which looked like a good possibility
 but it also does not have the connect routine.
 
   I installed php5 to get the php interpreter so it is
 possible that I have the wrong php and another php has the
 mysql_connect routine so at this time, I am all ears.
 
 Thanks for any suggestions.
 
 Martin McCormick

Hi Martin,

You referred to C code at the top of your message, but are you actually
looking for a PHP extension that contains the mssql_connection function
so some PHP code runs correctly?  I also have a question whether you're
looking for a PHP extension that connections to a MS SQL server or one
that connects to a MySQL server.  I'm guessing you're trying to connect
to MS SQL.

If so, please install http://www.freshports.org/databases/php5-mssql/,
and you should be all set.  You shouldn't need to install
http://www.freshports.org/databases/php5-mysql/ unless you're trying to
connect to a MySQL server, too.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMo0660sRouByUApARAoexAJ0XugUPZFEGysN/9V04ixR48hUQdgCgwyca
hqf9E5l6TdgR+VLanm3RZ60=
=yufJ
-END PGP SIGNATURE-

___
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: what is from [sic (wrong)] with this picture? -- Answer: It's Ubuntu, not FreeBSD

2010-09-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jon Radel wrote:
  On 9/29/10 4:24 PM, Gary Kline wrote:
 Yes!  changing the line in main.cf lets things get thru to my
 server cleanly, thanks for the tip.  I still don't understand
 what's wrong with my DNS files.  Hopefully, other folk on-list
 will see what's messed up.
 
 Your domain registrar is having your dns delegated to 3 nameservers:
 
 thought.org.86400INNSns1.thought.org.
 thought.org.86400INNSns1.silvertree.org.
 thought.org.86400INNSns1.twisted4life.com.
 ;; Received 142 bytes from 2001:500:48::1#53(b2.org.afilias-nst.org) in
 32 ms
 
 The last of the 3, ns1.twisted4life.com, is of the opinion that your
 domain doesn't exist, given that it has no authoritative data and
 refuses to do recursive lookups for the Internet at large.  I would
 suspect that this would result in the coming and going visibility that
 others have reported.  Basically, you don't exist a third of the time.
 
 You need to make sure that all the nameservers you list with your
 registrar are actually admitting to your existence and are getting
 up-to-date data.  I recall having this conversation with you before.
 

The first thing I would do is check the results of the DNS scan here
(http://www.dnscog.com/report/thought.org) and fix all of the listed
problems.  Keep iterating until the report is clean, or at least doesn't
have any red flags on it.  I've used this service successfully for a
while now to debug DNS problems.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMo+uL0sRouByUApARAlrCAJ9wOlsjn3he03B+dOwrexWYxwm8aQCgvaLx
2Dcr9cD1dzW0PuOyOGIUFfQ=
=PM9u
-END PGP SIGNATURE-

___
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: What's up with cvsup.freebsd.org?

2010-09-02 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dennis Glatting wrote:
 
 
 On Thu, 2 Sep 2010, Lowell Gilbert wrote:
 
 Dennis Glatting free...@penx.com writes:

 This has been happening for several days. Is cvsup dead vs SVN? Cvsup
 is still listed in the handbook.

 cvsup is still fine.  Please (as recommended in the handbook) use a
 mirror closer to you.

 
 cvsup1, which has the same IP address as cvsup, /is/ listed as the
 server closest to me in the handbook. More specifically:
 
 /usr/local/etc/cvsup/update.sh -L2
 CVSup update begins at 2010-09-02 09:46:13
 Updating from cvsup1.freebsd.org
 Parsing supfile /usr/local/etc/cvsup/supfile
 Connecting to cvsup1.freebsd.org
 Connected to cvsup1.freebsd.org
 Premature EOF from server
 CVSup update ends at 2010-09-02 09:46:15
 
 Something has changed in the past several days and I'm now getting
 Premature EOF. (I operate a mirror within our enterprise.) If the server
 /is fine/, then why have I been getting this message for the past
 several days? Nothing has changed on my end.
 

Hi Dennis,

Instead of relying on a particular cvsup server, how about installing
fastest_cvsup (http://www.freshports.org/sysutils/fastest_cvsup)?

If you run it in your script and pass the resulting hostname to csup,
you'll get the server with the best response at that time.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMf+MP0sRouByUApARAlIwAJ0fAI9fPVzMbJnx9GUxQR+z5YBkuQCfVPcM
AJ12xqKEXwKs88l3hYlMNS8=
=xr6y
-END PGP SIGNATURE-

___
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: FreeBSD Additional Contributors List

2010-08-18 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

exp...@deviate.fi wrote:
 Dear Sir
 
 I am writing this e-mail to ask whether or not it is possible to change
 my entry in the FreeBSD additional contributors list so that it does not
 contain my nickname and e-mail but my real name instead? If so, who should
 I contact in order to accomplish that?
 
 Thank you very much in advance.
 
 Yours Faithfully
 Piotr Szerman

Hi Piotr,

I just changed that for you.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMbCsm0sRouByUApARAldzAJ4h5XINqy02x6Zw51jgd+yMBwDWlgCgpSgJ
VMPgX63rLOuEHeXtA5CwpkU=
=H7t5
-END PGP SIGNATURE-

___
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: can't find .so, but it's right there.

2010-08-17 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Steve Franks wrote:
 What gives?  This is after portupgrade -akfO and an ldconfig just for
 good measure.
 
 [st...@fyre /usr/home/steve]$ cd /usr/local/lib
 [st...@fyre /usr/local/lib]$ ls -la | grep aa
 -rw-r--r--1 root  wheel189146 Jul 13 06:55 libaa.a
 -rwxr-xr-x1 root  wheel  1077 Jul 13 06:55 libaa.la
 lrwxr-xr-x1 root  wheel10 Jul 13 06:55 libaa.so - libaa.so.1
 -rwxr-xr-x1 root  wheel121682 Jul 13 06:55 libaa.so.1
 [st...@fyre /usr/local/lib]$ mplayer
 mplayer: error while loading shared libraries: libaa.so.1: cannot open
 shared object file: No such file or directory
 [st...@fyre /usr/local/lib]$
 
 
 Best,
 Steve

Hi Steve,

What is the output of the following command?

ldd `which mplayer`

If you don't see any not found libraries listed, what I normally try
next is running the process under truss and checking the output for any
system errors:

truss -f -a -s 256 -o /tmp/mplayer.log `which mplayer`

Post the /tmp/mplayer.log file somewhere for review, if you want.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMasbb0sRouByUApARAkaBAJ9D3k5uKshxk+G/szBriclbGGnQQwCguzII
GZnoCQj8Khj51X5DsjbBgJ0=
=1xbp
-END PGP SIGNATURE-

___
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: OpenOffice.org 3.2.1 build error

2010-08-12 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Caleb Stein wrote:
 Whenever I try to build OOo, I get this error: http://pastebin.com/8DBKJAhb
 
 How do I rebuild cppunit?

Hi Caleb,

A few resources suggest that the error is caused by a conflict with the
installed devel/cppunit package.  Can you pkg_delete it and try the OOo
build again?

This PR contains a reference to the problem near the bottom:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/132888 and pkg_delete
is the suggested fix.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMZHLf0sRouByUApARAhgWAKCKcr50VlHwPK3l9gVuY4xYsSHDewCdE/5d
jUilW25SSonGFBrW19WSNaI=
=gpsI
-END PGP SIGNATURE-

___
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: Setting Debug flag in /etc/make.conf

2010-08-02 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Roland Smith wrote:
 On Sun, Aug 01, 2010 at 07:28:24AM -0400, Jerry wrote:
 I have been having problems with several different programs lately.
 Would there be any serious drawback to simply setting: WITH_DEBUG= 
 in the /etc/make.conf file to force everything I build/rebuild to be
 built with debug symbols? 
 
 No.
 
 You are assuming every program's Makefile uses WITH_DEBUG that way!  The base
 system doesn't for one. And neither do all ports. To look for yourself, use
 the following command;
 
 find /usr/ports/ -type f -name Makefile -exec grep -H DEBUG {} \;
 
 While a lot use WITH_DEBUG, not all ports do, and some use other options, like
 NODEBUG or DEBUGFLAGS, or DEBUGGING.
 
 You'd have to look into the programs in question to see how to enable
 debugging for those.
 
 Roland

WITH_DEBUG has special meaning in the ports infrastructure, and as long
as a specific port uses CFLAGS during compilation, it will be compiled
with debugging symbols when WITH_DEBUG is enabled.  Some ports also
check the value of WITH_DEBUG within their own Makefile in order to set
port-specific debug build options.

See this excerpt from /usr/ports/Mk/bsd.port.mk:

# WITH_DEBUG - If set, debugging flags are added to CFLAGS and the
#  binaries don't get stripped by INSTALL_PROGRAM.
#  Besides, individual ports might add their specific
#  to produce binaries for debugging purposes.
#  You can override the debug flags that are passed to
#  the compiler by setting DEBUG_FLAGS. It is set to
#  -g at default.

Just put the following in /etc/make.conf and then recompile the ports
you want to include debug symbols:

WITH_DEBUG= yes

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMVtFn0sRouByUApARAvlbAKDKwV2anUR87ShERsHVsCpidSof5wCgtb8U
27W9F1G2DmKiebrDrgCe+0c=
=Xhvf
-END PGP SIGNATURE-

___
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: Why am I getting mail rejects?

2010-07-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Peel wrote:
 - Original Message - From: Greg Larkin glar...@freebsd.org
 To: Grant Peel gp...@thenetnow.com
 Cc: freebsd-questions@freebsd.org
 Sent: Tuesday, July 27, 2010 8:40 PM
 Subject: Re: Why am I getting mail rejects?
 
 
 Grant Peel wrote:
 Hi everyone,

 I asked this a few days ago, and did not get a response.

 I have this in my /etc/periodic.conf:

 constellation# more periodic.conf
 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO  # Check mail
 rejects
 daily_status_mail_rejects_logs=0# How many logs
 to check
 daily_status_mail_rejects_shorten=NO  # Shorten output

 And have chnaged this in my /etc/defaults/periodic.conf:

 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO   # Check mail
 rejects
 daily_status_mail_rejects_logs=3# How many
 logs to
 check
 daily_status_mail_rejects_shorten=NO  # Shorten output

 And am still getting all the reject mail data showing in my daily
 periodic
 output.

 I am using FreeBSD 8.0 p#3
 The mta is Exim 4.69_4 built from ports.

 What am I doing incorrectly? Why am I still getting all the mail
 reject log
 lines in my daily periodic output?

 -Grant
 
 Hi Grant,
 
 Please capture the output of the following command and post it somewhere
 for viewing.  This will display all of the shell commands executed by
 the periodic script, and it may help someone here troubleshoot the
 problem.
 
 sh -x /etc/periodic/daily/460.status-mail-rejects
 
 Regards,
 Greg

 Greg, Here is the output you suggested. (I have a /etc/periodic.conf,
 but not /etc/periodic.conf.local).

[...]

Hi Grant,

I presume that you saw the response from Daniel Bye
(http://forum.nginx.org/read.php?23,113669,113860#msg-113860)?  Since
you have exim installed, it has its own version of the script, and you
have to set its variables in /etc/rc.conf instead (defaults here):

exim_status_mail_rejects_enable=YES
exim_status_mail_rejects_logs=2
exim_rejectlog=/var/log/exim/rejectlog

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMUaP30sRouByUApARAtPzAKC9xgpt2QDf7t9zPRhR/FBAaTaTzACffVPV
E6b3qwqgqa2xwAGh0n2lmHg=
=GEz6
-END PGP SIGNATURE-

___
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: Why am I getting mail rejects?

2010-07-27 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Grant Peel wrote:
 Hi everyone,
 
 I asked this a few days ago, and did not get a response.
 
 I have this in my /etc/periodic.conf:
 
 constellation# more periodic.conf
 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO  # Check mail rejects
 daily_status_mail_rejects_logs=0# How many logs
 to check
 daily_status_mail_rejects_shorten=NO  # Shorten output
 
 And have chnaged this in my /etc/defaults/periodic.conf:
 
 # 460.status-mail-rejects
 daily_status_mail_rejects_enable=NO   # Check mail
 rejects
 daily_status_mail_rejects_logs=3# How many logs to
 check
 daily_status_mail_rejects_shorten=NO  # Shorten output
 
 And am still getting all the reject mail data showing in my daily periodic
 output.
 
 I am using FreeBSD 8.0 p#3
 The mta is Exim 4.69_4 built from ports.
 
 What am I doing incorrectly? Why am I still getting all the mail reject log
 lines in my daily periodic output?
 
 -Grant

Hi Grant,

Please capture the output of the following command and post it somewhere
for viewing.  This will display all of the shell commands executed by
the periodic script, and it may help someone here troubleshoot the problem.

sh -x /etc/periodic/daily/460.status-mail-rejects

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMT3xy0sRouByUApARAq35AJ9Jscb9hHedbTiu3MXimj3UIiS3uQCcCOmB
xxU/f3r6jvqwZ51ji/jo4k0=
=qwGv
-END PGP SIGNATURE-

___
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: monitor util in a scripted daemon?

2010-07-23 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Neil Smith wrote:
 - Is there a command (native, shell, or ports collection) to sit and watch 
 for new file creation in a directory?
 - I'd like to build a system startup script for such a command and its 
 scripted actions. Sound possible?
 - Is there already something in the default OS that does something similar?
 
 
 Thanks,
 -Neil
 ---
 Neil Smith ne...@tamu.edu
 Comp. Sys. Mngr., Atmospheric Sciences

Hi Neil,

I haven't used it yet, but gamin should do the trick:
http://www.freshports.org/devel/gamin/

I don't see why you couldn't wrap it with a startup script so a list of
monitored files/directories could be added to /etc/rc.conf.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMSf770sRouByUApARAkOAAJwIGJt4trCutsSGCugzGjB93yZx8ACgjdOe
o1tEuLiA8wanazn9MlsS3DE=
=n83K
-END PGP SIGNATURE-

___
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: rmconfig from all ports tree

2010-07-21 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

claudiu vasadi wrote:
 one solution I just created would be:
 
 for i in `find /usr/ports/ -type directory -print`; do `cd $i  make
 rmconfig`;done
 
 but I am wondering if there is a official way. man portsclean did not give
 me any options to do it.
 
 
 Another thing would be to make rmconfig in all dir's that are required to be
 installed by a particular meta-port, for instance kde/gnome/xfce.

Hi Claudiu,

You can use one of these two targets:

rmconfig   - Remove the options config for this port.
rmconfig-recursive - Remove the options config for this port and
 all dependencies.

Or, if you want to use a big hammer and remove all configs for all
ports, use:

find /var/db/ports -type f -name options -print | xargs rm

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMR40E0sRouByUApARAiAxAJ4tTVUwd1HdU1ZqZsTZdpmmHfK5swCdG4CL
OG68m0jqHWogajdG0rn/ZSU=
=ns+l
-END PGP SIGNATURE-

___
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: Help with setting up a mail server

2010-07-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aryeh M. Friedman wrote:
 I am a consultant and was retained by my client to setup qmail or exim
 on a VPS running 8.0-STABLE (i386). After setting up the DNS (A record
 and MX record) we have been unable to send or receive mail. The client
 has/had a working script for installing qmail on 7.1-STABLE but it
 seems to not work on 8.0-STABLE. They are using the same VPS provider
 who this 7.1-STABLE install script worked under. I have tried
 everything I can think of to make it work including asking obvious
 questions on -questi...@.
 
 I informed the client that the task is likely beyond me capabilities
 but I would help recruit someone who would be able to do it at a
 reasonable fee paid to them (I am acting as a no cost middle man on
 this [I am helping the client for free since I was unable to get it
 done]).
 
 Please send any ideas and/or offers to do the job

Hi Aryeh,

Here are some things that I do to troubleshoot problems like this:

- - Check if there are any firewalls (client-side or server-side) that
block the ports, tcp 25/587 and tcp 110/143 in this case.  If you're
using POP3 or IMAP over SSL, check tcp 993 and tcp 995, too.

- - Check if the listening ports are ready to accept connections with the
command netstat -an | grep LISTEN.  Do you see the ports you expect?

- - Dumb question - are the mail server processes running?

- - Assuming the processes are running and the ports are listening, what
happens when you telnet to them from within the machine, e.g.:

telnet localhost 25
telnet localhost 110
telnet localhost 143

- - Can you ping the mail server hostname?

- - Use dig to do lookups on your A and MX records.  Did you bump the
DNS serial number and reload the DNS server after you added the records?

- - If that works, now try telnetting to the same ports from an outside
network using the DNS hostnames, e.g.:

telnet my.mail.server.com 25
...

- - Please send me your hostname privately, if you like, and I can check
DNS and ports from here.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMRa/E0sRouByUApARAsZwAJwIB6hXWwi2x2Wys94WyjHUJfF4fgCglmiR
RYfOIA1ePOLwXcWj1xRrdFk=
=j2tU
-END PGP SIGNATURE-

___
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: new jail utility is available. announcement.

2010-07-20 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Aiza wrote:
 Jerry wrote:
 On Wed, 21 Jul 2010 02:25:32 +0800
 Aiza aiz...@comclark.com articulated:


 Like the announcement said the port is available at
 http://sourceforge.net/projects/qjail/

 And if you have ever submitted a new port for inclusion into the
 freebsd ports system you would know that it takes months for it to
 show up in the collection.

 Actually, I have submitted a few ports. I believe it averaged only
 approximately 10 to 14 days before they were officially committed to
 the ports tree. Updating them usually takes 10 days or less.

 So you can wait till xmas or RELEASE 9.0 to come out for the port to
 be in the ports collection or just fetch it form the development
 project site.

 I guess I was just lucky I did not have to wait 6 months. I am
 assuming, perhaps incorrectly, that you might be the maintainer of this
 new port. What is the PR #?

 There has been the normal pre RELEASE freeze on since xmas, that is why
 no port activity is occurring right now.
 
  http://www.freebsd.org/cgi/query-pr.cgi?pr=148777

Hi Aiza,

Where did you get that information?  Whoever told you that is mistaken.
 A large number of commits have entered the ports tree since the
beginning of the year.  Have a look at the ports CVS mailing list
archive since December 2009: http://lists.freebsd.org/pipermail/cvs-ports/

The ports tree does go into a freeze or slush state around release
times, but that doesn't completely stop commits either, mostly sweeping
changes that affect a great number of ports or introduce some other
incompatibility.  Here's some more information:
http://www.freebsd.org/doc/en/articles/committers-guide/ports.html#AEN1466

Hope that helps, and thank you for your new port,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMRhRg0sRouByUApARAqpqAJ9bvM5El5YXO0GjCfkmwaZwy4pXHQCgvuuc
QNAOpT/EElnICj72S97QAuY=
=jIkQ
-END PGP SIGNATURE-

___
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: bugzilla

2010-07-15 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

alexus wrote:
 On Thu, Jul 15, 2010 at 5:13 PM, Glen Barber glen.j.bar...@gmail.com wrote:
 On 7/15/10 5:07 PM, alexus wrote:
 Software error:

 The ./data/params file does not exist. You probably need to run
 checksetup.pl. at Bugzilla/Config.pm line 337.
 Compilation failed in require at /var/www/html/bugzilla/index.cgi line 34.
 BEGIN failed--compilation aborted at /var/www/html/bugzilla/index.cgi line
 34.

 For help, please send mail to the webmaster (r...@localhost), giving
 this error message and the time and date of the error.

 [r...@wcmisdlin02 bugzilla]# ./checksetup.pl
 * This is Bugzilla 3.6.1 on perl 5.8.8
 * Running on Linux 2.6.18-194.8.1.el5xen #1 SMP Thu Jul 1 19:41:05 EDT
 2010

 Checking perl modules...
 Checking for  CGI.pm (v3.21)   ok: found v3.49
 Checking for  Digest-SHA (any) ok: found v5.48
 Checking forTimeDate (v2.21)   ok: found v2.22
 Checking forDateTime (v0.28)   ok: found v0.60
 Checking for   DateTime-TimeZone (v0.71)   ok: found v1.19
 Checking for DBI (v1.41)   ok: found v1.609
 Checking forTemplate-Toolkit (v2.22)   ok: found v2.22
 Checking for  Email-Send (v2.00)   ok: found v2.198
 Checking for  Email-MIME (v1.861)  ok: found v1.903
 Checking for Email-MIME-Encodings (v1.313)  ok: found v1.313
 Checking for Email-MIME-Modifier (v1.442)  ok: found v1.903
 Checking for URI (any) ok: found v1.35

 Checking available perl DBD modules...
 Checking for  DBD-Pg (v1.45)not found
 Checking for   DBD-mysql (v4.00)   ok: found v4.013
 Checking for  DBD-Oracle (v1.19)not found

 The following Perl modules are optional:
 Checking for  GD (v1.20)   ok: found v2.45
 Checking for   Chart (v2.1)ok: found v2.4.1
 Checking for Template-GD (any) ok: found v1.56
 Checking for  GDTextUtil (any) ok: found v0.86
 Checking for GDGraph (any) ok: found v1.44
 Checking forXML-Twig (any) ok: found v3.35
 Checking for  MIME-tools (v5.406)  ok: found v5.428
 Checking for libwww-perl (any) ok: found v2.033
 Checking for PatchReader (v0.9.4)  ok: found v0.9.5
 Checking for   perl-ldap (any) ok: found v0.33
 Checking for Authen-SASL (any) ok: found v2.15
 Checking for  RadiusPerl (any) ok: found v0.15
 Checking for   SOAP-Lite (v0.710.06) ok: found v0.712
 Checking forJSON-RPC (any) ok: found v0.96
 Checking for  Test-Taint (any) ok: found v1.04
 Checking for HTML-Parser (v3.40)   ok: found v3.64
 Checking for   HTML-Scrubber (any) ok: found v0.08
 Checking for Email-MIME-Attachment-Stripper (any) ok: found v1.316
 Checking for Email-Reply (any) ok: found v1.202
 Checking for TheSchwartz (any) ok: found v1.10
 Checking for  Daemon-Generic (any) ok: found v0.71
 Checking formod_perl (v1.999022) ok: found v2.04
 Reading ./localconfig...

 OPTIONAL NOTE: If you want to be able to use the 'difference between two
 patches' feature of Bugzilla (which requires the PatchReader Perl module
 as well), you should install patchutils from:

 http://cyberelk.net/tim/patchutils/

 Checking for   DBD-mysql (v4.00)   ok: found v4.013
 Checking for   MySQL (v4.1.2)  ok: found v5.0.77-log

 WARNING: You need to set the max_allowed_packet parameter in your MySQL
 configuration to at least 3276750. Currently it is set to 3275776.
 You can set this parameter in the [mysqld] section of your MySQL
 configuration file.

 InnoDB is disabled in your MySQL installation.
 Bugzilla requires InnoDB to be enabled.
 Please enable it and then re-run checksetup.pl.

 My bet would be this last message.

 Regards,

 --
 Glen Barber
 
 why?
 

This is the last message that Glen referred to:

InnoDB is disabled in your MySQL installation.
Bugzilla requires InnoDB to be enabled.
Please enable it and then re-run checksetup.pl.

You have to enable InnoDB in your MySQL installation before
checksetup.pl will proceed.  Once you enable InnoDB, re-run
checksetup.pl and post any further error messages to the list.
Sometimes, you have to run checksetup.pl multiple times before it
completes with no additional actions.  I often run it 2-3 times to make
sure, and that's fine.

Yours isn't a FreeBSD-specific error, so if you do run into additional
problems, the Bugzilla support list might have better answers:
https://lists.mozilla.org/listinfo/support-bugzilla

That being said, I administer a large number of Bugzilla installations
on FreeBSD, so I can probably help you work out whatever troubles you
run into.

Best regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow

Re: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.
 
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

Hi Chris,

Please post a link to the configure and config.log files from your work
directory somewhere, and that will help someone troubleshoot the problem.

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPer+0sRouByUApARAkfoAKCY1c/sGacLtiQbELtMWwnW6cuWygCfVcn/
nbVHX3ugYZk2c5YYUVY9/j8=
=aV7e
-END PGP SIGNATURE-

___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.
 
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com
 

Hi Chris,

Since we've been conversing privately for a bit, I went back to your
original message and found something that might benefit you and the list
as a whole, if someone else runs into this problem.

I see this error message:

...
...
configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
/usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
expanded from...
/usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
is expanded from...
/usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
expanded from...
...
...

Notice the pathname /usr/local/share/aclocal/libtool15.m4.  You
emailed me privately with the list of your installed packages, and you
have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
with that version of libtool, so please post the output of this command:

pkg_which /usr/local/share/aclocal/libtool15.m4

Thank you,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPhAu0sRouByUApARAsUiAJ9FcXm5VaXuSTOG5Ypweg3Mq0gnoQCghzuG
iJUiUN8Tm71XCFbKu6SvHPA=
=Jyyp
-END PGP SIGNATURE-

___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Greg Larkin wrote:
 Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.
 
 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com
 
 
 Hi Chris,
 
 Since we've been conversing privately for a bit, I went back to your
 original message and found something that might benefit you and the list
 as a whole, if someone else runs into this problem.
 
 I see this error message:
 
 ...
 ...
 configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
 suspicious cache-id, must contain _cv_ to be cached
 ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
 ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
 /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
 expanded from...
 /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
 is expanded from...
 /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
 expanded from...
 ...
 ...
 
 Notice the pathname /usr/local/share/aclocal/libtool15.m4.  You
 emailed me privately with the list of your installed packages, and you
 have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
 with that version of libtool, so please post the output of this command:
 
 pkg_which /usr/local/share/aclocal/libtool15.m4
 
 Thank you,
 Greg

To complete the circle, I finally found these postings that describe the
problem and the solution, in case anyone else runs into this:

http://groups.google.com/group/muc.lists.freebsd.ports/browse_thread/thread/57a734d1196f30ef/2170682ff163b273?lnk=raot
http://lists.freebsd.org/pipermail/freebsd-x11/2009-August/008751.html

The likely cause was an incorrect pkg-plist file in the libtool15 port
at one time, and some files were not removed during the
libtool15-libtool22 upgrade.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPhJA0sRouByUApARAqG4AKCR2RMpVgRJpfvZIxsKOOygxKl2EgCfeVPx
2GicbmOFhGMuAoN5rBdwNRc=
=AM1v
-END PGP SIGNATURE-

___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.

 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

 Hi Chris,

 Since we've been conversing privately for a bit, I went back to your
 original message and found something that might benefit you and the list
 as a whole, if someone else runs into this problem.

 I see this error message:

 ...
 ...
 configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
 suspicious cache-id, must contain _cv_ to be cached
 ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
 ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
 /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
 expanded from...
 /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
 is expanded from...
 /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
 expanded from...
 ...
 ...

 Notice the pathname /usr/local/share/aclocal/libtool15.m4.  You
 emailed me privately with the list of your installed packages, and you
 have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
 with that version of libtool, so please post the output of this command:

 pkg_which /usr/local/share/aclocal/libtool15.m4

 Thank you,
 Greg
 
 It just returned a ?.  So does that mean that it is not referenced by
 any package?  If it is not, can I just delete it?  Also, this seems to
 be the issue with libX11.  Someone gave me a similar response for
 libX11 on the X11 list.  However, they have not gotten back to me on
 what I should do with it.
 
 Thanks,
 Chris Maness

Yes, I believe you can safely delete it.  Just to be 100% sure, rename
it temporarily, and then try the build again.  It should also fix the
libX11 issue.

Regards,
Greg
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPhLP0sRouByUApARApp8AJ4tN38JkCTOe+JoMc7e0kiz93HCzACfVHph
c0JKvpDEIBPvF9rTxtdTnaQ=
=V1Sb
-END PGP SIGNATURE-

___
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: libSM Configure Script Failure

2010-07-14 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chris Maness wrote:
 On Wed, Jul 14, 2010 at 12:42 PM, Chris Maness ch...@chrismaness.com wrote:
 On Wed, Jul 14, 2010 at 12:41 PM, Greg Larkin glar...@freebsd.org wrote:
 Chris Maness wrote:
 On Wed, Jul 14, 2010 at 12:29 PM, Greg Larkin glar...@freebsd.org wrote:
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 Chris Maness wrote:
 What would cause a configure script to fail?  See output bellow.

 Chris Maness
 (909) 223-9179
 http://www.chrismaness.com

 Hi Chris,

 Since we've been conversing privately for a bit, I went back to your
 original message and found something that might benefit you and the list
 as a whole, if someone else runs into this problem.

 I see this error message:

 ...
 ...
 configure.ac:21: warning: AC_CACHE_VAL(lt_prog_compiler_pic_works, ...):
 suspicious cache-id, must contain _cv_ to be cached
 ../../lib/autoconf/general.m4:1973: AC_CACHE_VAL is expanded from...
 ../../lib/autoconf/general.m4:1993: AC_CACHE_CHECK is expanded from...
 /usr/local/share/aclocal/libtool15.m4:615: AC_LIBTOOL_COMPILER_OPTION is
 expanded from...
 /usr/local/share/aclocal/libtool15.m4:4815: AC_LIBTOOL_PROG_COMPILER_PIC
 is expanded from...
 /usr/local/share/aclocal/libtool15.m4:2651: _LT_AC_LANG_C_CONFIG is
 expanded from...
 ...
 ...

 Notice the pathname /usr/local/share/aclocal/libtool15.m4.  You
 emailed me privately with the list of your installed packages, and you
 have libtool-2.2.6b installed.  This libtool15.m4 file seems to conflict
 with that version of libtool, so please post the output of this command:

 pkg_which /usr/local/share/aclocal/libtool15.m4

 Thank you,
 Greg
 It just returned a ?.  So does that mean that it is not referenced by
 any package?  If it is not, can I just delete it?  Also, this seems to
 be the issue with libX11.  Someone gave me a similar response for
 libX11 on the X11 list.  However, they have not gotten back to me on
 what I should do with it.

 Thanks,
 Chris Maness
 Yes, I believe you can safely delete it.  Just to be 100% sure, rename
 it temporarily, and then try the build again.  It should also fix the
 libX11 issue.
 
 Regards,
 Greg


 It made it past the hang up ;o)

 Thanks,
 Chris Maness


 It is all working now.  I am forcing a rebuild of all downstream deps
 for libX11.  Is libSM down stream from libX11 as well?  Hopefully
 after that is done I can get virtualbox-ose to compile.

 Thanks,
 Chris Maness

Hi Chris,

Good news!  Try pkg_info to find up- and downstream dependencies for libX11:

pkg_info -r libX11-\*  # Upstream
pkg_info -R libX11-\*  # Downstream

It doesn't look like libX11 and libSM depend on each other on my machine.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMPiHh0sRouByUApARAmStAJ0U86k1yHlstVVlCZ+6ZMQLWZc/QgCfWSe+
fBSgkQ/aMElvotqDmTkOcJ8=
=UnUp
-END PGP SIGNATURE-

___
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: slow down dd - how?

2010-07-08 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Kelly wrote:
 On Thu, Jul 08, 2010 at 06:44:38PM +0200, Roland Smith wrote:
 On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote:
 How can I slow down dd?
 Play with the block size parameter (bs). Smaller block sizes means more
 reads. The default is 512 bytes, which is very small.
  
 I don't want to slow down the pc, when generating a big file [~40
 GByte].
 
 I don't think Jozsi wants to burn more CPU cycles, just slow the
 process. Perhaps to attract less attention? Or interfere less with other
 processes.
 
 Nice(1) is a good start but rtprio(1) is probably where he should look.
 
 Also consider that writing a program of your own to serve as a slow pipe
 shouldn't be very hard. Think it would be a good exercise as an
 introduction to Unix programming. Simply copy stdin to stdout with a
 usleep(3) between. Pipe dd through your slowpipe program.
 
 Someone else has probably written a slow pipe. I haven't looked.
 

Indeed someone has, and I ported it a few months back:
http://www.freshports.org/sysutils/pmt.  Check the throttle subcommand.

I also use idprio(1)
(http://www.freebsd.org/cgi/man.cgi?query=idpriosourceid=opensearch) to
schedule processes that I don't want interfering with the rest of the
system.

Hope that helps,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
http://twitter.com/sourcehosting/ - Follow me, follow you
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMNgqg0sRouByUApARAmsbAJ9ayMlkCUhJpJr0HsPxMmHQ1ToYzgCgrJGX
uIeciRHWwaNYrchL4TjYnkA=
=NKtY
-END PGP SIGNATURE-

___
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


  1   2   3   4   5   6   7   8   9   10   >