Re: [Fink-users] CVS and proxies: testers wanted
Hi I'm sending a reply to a mail about using cvs for fink behind a firewall using a http proxy. I found this mail in the web archive. http://sourceforge.net/mailarchive/forum.php?thread_name=49B5DDF0.4030109%40gmail.comforum_name=fink-users From: Alexander Hansen alexanderk.han...@gm... - 2009-03-10 03:27 As best as I can tell, our cvs-proxy package doesn't work on Leopard (possibly not even on Tiger); and I've discontinued providing cvs there in any case, since Xcode provides the latest version. I'm trying to find a more reliable solution for people with http proxies. I don't have one, myself, and I don't really have enough time to try setting one up. According to the info page for cvs on Leopard, people should be able to try the following syntax there: cvs d-:pserver;proxy=www.myproxy.net;proxyport=8000:\ anonym...@fi...:/cvsroot/fink login cvs d-:pserver;proxy=www.myproxy.net;proxyport=8000:\ anonym...@fi...:/cvsroot/fink co fink where you need to replace 'www.myproxy.net' by your proxy address, and '8000' by your actual proxy port. I confirmed that the way above actually works in our macs with Snow Leopard and Leopard, if we put several quotations(), e.g., cvs -d:pserver;proxy=proxy.example.com;proxyport=8080:anonymous@(soory I forgot the strings here)/cvsroot/fink login To realize it, I hardcoded this at perlmod/Fink/SelfUpdate/CVS.pm in fink-0.29.10: --- CVS.pm.orig 2010-02-03 11:57:14.0 +0900 +++ CVS.pm2010-02-03 12:40:37.0 +0900 @@ -202,7 +202,7 @@ $cmd = cvs ${verbosity} -z3 -d$cvsrepository; } else { - $cmd = cvs -d:pserver:anonymo...@$cvsrepository login; + $cmd = cvs -d\:pserver;proxy=proxy.example.com;proxyport=8080:anonymo...@$cvsrepository\ login; if ($username ne root) { $cmd = /usr/bin/su $username -c '$cmd'; } @@ -210,7 +210,7 @@ die Logging into the CVS server for anonymous read-only access failed.\n; } else { - $cmd = cvs ${verbosity} -z3 -d:pserver:anonymo...@$cvsrepository; + $cmd = cvs ${verbosity} -z3 -d\:pserver;proxy=proxy.example.com;proxyport=8080:anonymo...@$cvsrepository\; } } } else { I know hardcoding the proxy configulation is stupid, but it works for me. By the way, the specification of proxy in cvs command line has a side effect that the postinst of fink-mirror fails. This must be resolved by the following patch: --- /sw/lib/fink/mirror/postinstall.pl.orig 2010-02-03 13:06:10.0 +0900 +++ /sw/lib/fink/mirror/postinstall.pl2010-02-03 13:19:19.0 +0900 @@ -53,14 +53,14 @@ open(IN,'',$sentinel_cvs/Root) or die can't open $sentinel_cvs/Root: $!; while (defined($_=IN)) { chomp; -if (/^(:\w+:\w+)@(.+)$/) { +if (/^(:\S+:\S+)@(.+)$/) { $method_user = $1; $repo = $2; } } close(IN); die couldn't parse $sentinel_cvs/Root\n unless ((defined $method_user) and (defined $repo)); -if (defined $method_user and $method_user eq :pserver:anonymous) { +if (defined $method_user and $method_user =~ /^:pserver(.*):anonymous$/) { $repo_file = /sw/lib/fink/URL/anonymous-cvs; } else { $repo_file = /sw/lib/fink/URL/developer-cvs; Sincerely, Atushi Tanaka -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] CVS and proxies: testers wanted
Thank you very much for the information. I'll forward it onto fink-core so that we can come up with how to implement it in the fink code without having a hardcoded proxy. On Thu, Feb 4, 2010 at 10:05 AM, TANAKA Atushi atan...@hotcake.halfmoon.jp wrote: Hi I'm sending a reply to a mail about using cvs for fink behind a firewall using a http proxy. I found this mail in the web archive. http://sourceforge.net/mailarchive/forum.php?thread_name=49B5DDF0.4030109%40gmail.comforum_name=fink-users From: Alexander Hansen alexanderk.han...@gm... - 2009-03-10 03:27 As best as I can tell, our cvs-proxy package doesn't work on Leopard (possibly not even on Tiger); and I've discontinued providing cvs there in any case, since Xcode provides the latest version. I'm trying to find a more reliable solution for people with http proxies. I don't have one, myself, and I don't really have enough time to try setting one up. According to the info page for cvs on Leopard, people should be able to try the following syntax there: cvs d-:pserver;proxy=www.myproxy.net;proxyport=8000:\ anonym...@fi...:/cvsroot/fink login cvs d-:pserver;proxy=www.myproxy.net;proxyport=8000:\ anonym...@fi...:/cvsroot/fink co fink where you need to replace 'www.myproxy.net' by your proxy address, and '8000' by your actual proxy port. I confirmed that the way above actually works in our macs with Snow Leopard and Leopard, if we put several quotations(), e.g., cvs -d:pserver;proxy=proxy.example.com;proxyport=8080:anonymous@(soory I forgot the strings here)/cvsroot/fink login To realize it, I hardcoded this at perlmod/Fink/SelfUpdate/CVS.pm in fink-0.29.10: --- CVS.pm.orig 2010-02-03 11:57:14.0 +0900 +++ CVS.pm 2010-02-03 12:40:37.0 +0900 @@ -202,7 +202,7 @@ $cmd = cvs ${verbosity} -z3 -d$cvsrepository; } else { - $cmd = cvs -d:pserver:anonymo...@$cvsrepository login; + $cmd = cvs -d\:pserver;proxy=proxy.example.com;proxyport=8080:anonymo...@$cvsrepository\ login; if ($username ne root) { $cmd = /usr/bin/su $username -c '$cmd'; } @@ -210,7 +210,7 @@ die Logging into the CVS server for anonymous read-only access failed.\n; } else { - $cmd = cvs ${verbosity} -z3 -d:pserver:anonymo...@$cvsrepository; + $cmd = cvs ${verbosity} -z3 -d\:pserver;proxy=proxy.example.com;proxyport=8080:anonymo...@$cvsrepository\; } } } else { I know hardcoding the proxy configulation is stupid, but it works for me. By the way, the specification of proxy in cvs command line has a side effect that the postinst of fink-mirror fails. This must be resolved by the following patch: --- /sw/lib/fink/mirror/postinstall.pl.orig 2010-02-03 13:06:10.0 +0900 +++ /sw/lib/fink/mirror/postinstall.pl 2010-02-03 13:19:19.0 +0900 @@ -53,14 +53,14 @@ open(IN,'',$sentinel_cvs/Root) or die can't open $sentinel_cvs/Root: $!; while (defined($_=IN)) { chomp; - if (/^(:\w+:\w+)@(.+)$/) { + if (/^(:\S+:\S+)@(.+)$/) { $method_user = $1; $repo = $2; } } close(IN); die couldn't parse $sentinel_cvs/Root\n unless ((defined $method_user) and (defined $repo)); - if (defined $method_user and $method_user eq :pserver:anonymous) { + if (defined $method_user and $method_user =~ /^:pserver(.*):anonymous$/) { $repo_file = /sw/lib/fink/URL/anonymous-cvs; } else { $repo_file = /sw/lib/fink/URL/developer-cvs; Sincerely, Atushi Tanaka -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users -- Alexander K. Hansen akh AT finkproject DOT org Fink User Liaison and Documenter -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away.
Re: [Fink-users] Error updating xm-2.1
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2/4/10 11:50 AM, David Wagner wrote: I recently updated XCode to 3.1.4, ran fink selfupdate and update-all. I got the following error: Making all in Xm-2.1 /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I. -I../../include -I../../include/Motif-2.1 -I../../include/ Motif-2.1 -I/usr/X11R6/include -I/usr/X11/include/freetype2 -I/usr/X11/ include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o Messages.lo Messages.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ X11R6/include -g -O2 -c Messages.c -fno-common -DPIC -o .libs/ Messages.o libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ X11R6/include -g -O2 -c Messages.c -o Messages.o /dev/null 21 /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. - I. -I../../include -I../../include/Motif-2.1 -I../../include/ Motif-2.1 -I/usr/X11R6/include -I/usr/X11/include/freetype2 -I/usr/X11/ include -I/sw/include -I/usr/X11R6/include -g -O2 -c -o Print.lo Print.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I../../ include/Motif-2.1 -I../../include/Motif-2.1 -I/usr/X11R6/include -I/ usr/X11/include/freetype2 -I/usr/X11/include -I/sw/include -I/usr/ X11R6/include -g -O2 -c Print.c -fno-common -DPIC -o .libs/Print.o In file included from /usr/X11/include/freetype2/freetype/freetype.h:41, from /usr/X11R6/include/X11/Xft/Xft.h:42, from ../../include/Motif-2.1/XmI/XmI.h:50, from Print.c:61: /usr/X11/include/freetype2/freetype/config/ftconfig.h:65:1: warning: SIZEOF_LONG redefined In file included from Print.c:28: ../../include/LTconfig.h:312:1: warning: this is the location of the previous definition In file included from ../../include/Motif-2.1/XmI/XmI.h:50, from Print.c:61: /usr/X11R6/include/X11/Xft/Xft.h:43:35: error: fontconfig/ fontconfig.h: No such file or directory In file included from /usr/X11R6/include/X11/Xft/Xft.h:53, from ../../include/Motif-2.1/XmI/XmI.h:50, from Print.c:61: /usr/X11R6/include/X11/Xft/XftCompat.h:33: error: syntax error before 'XftChar8' /usr/X11R6/include/X11/Xft/XftCompat.h:33: warning: data definition has no type or storage class /usr/X11R6/include/X11/Xft/XftCompat.h:34: error: syntax error before 'XftChar16' [and much more] I welcome any suggestions. This is on MacOS 10.5.8. I have not touched fink in a year or more. This is the start of the output from xdpyinfo: bash-3.2$ xdpyinfo | more name of display:/tmp/launch-efRyzh/:0 version number:11.0 vendor string:The X.Org Foundation vendor release number:10402000 X.Org version: 1.4.2 maximum request size: 16777212 bytes motion buffer size: 256 bitmap unit, bit order, padding:32, LSBFirst, 32 image byte order:LSBFirst number of supported pixmap formats:7 supported pixmap formats: depth 1, bits_per_pixel 1, scanline_pad 32 depth 4, bits_per_pixel 8, scanline_pad 32 depth 8, bits_per_pixel 8, scanline_pad 32 depth 15, bits_per_pixel 16, scanline_pad 32 depth 16, bits_per_pixel 16, scanline_pad 32 depth 24, bits_per_pixel 32, scanline_pad 32 depth 32, bits_per_pixel 32, scanline_pad 32 keycode range:minimum 8, maximum 255 focus: window 0x8d, revert to None number of extensions:25 Apple-DRI Apple-WM BIG-REQUESTS DAMAGE DOUBLE-BUFFER Extended-Visual-Information GLX MIT-SCREEN-SAVER MIT-SHM MIT-SUNDRY-NONSTANDARD RENDER SECURITY SGI-GLX SHAPE SYNC TOG-CUP X-Resource XAccessControlExtension XC-APPGROUP XC-MISC XFIXES XINERAMA XInputExtension XKEYBOARD XVideo Thanks, David Wagner Give the name of the *package* which is failing. People normally search the archives for full packages, not subunits in their build system, and our developers don't memorize the subunits for every package build. I.e. I have absolutely no clue what package you're having a problem with. However, I do have something to work with. Do you in fact have /usr/X11/include/fontconfig/fontconfig.h on your system? If that's missing then you need to reinstall at least the X11SDK from Xcode if you're using a stock X11 or Xquartz, if you don't. (I don't have the X.org version numbers of X11.app memorized) - -- Alexander Hansen Fink User Liaison -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
[Fink-users] Failed: phase compiling: esound-0.2.38-2 failed
Hello everyone, Here's the system info: fink --version Package manager version: 0.29.10 Distribution version: selfupdate-rsync Thu Feb 4 18:49:54 2010, 10.5, powerpc on a PPC G5 OS X 10.5.8. Here's the error text: Esound Configure Settings: Debugging support: no libwrap support: yes LIBS= -L/sw/lib -laudiofile -lm make -j2 EGREP='grep -E' max_cmd_len=1024 make all-recursive Making all in docs jw -f docbook -b html -o html ./esound.sgml Using catalogs: /sw/etc/sgml/catalog Using stylesheet: /sw/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#html Working on: /sw/src/fink.build/esound-0.2.38-2/esound-0.2.38/docs/./esound.sgml dyld: Library not loaded: /sw/lib/libosp.4.dylib Referenced from: /sw/bin/openjade Reason: image not found /sw/share/sgml/docbook/utils-0.6.14/backends/html: line 6: 8699 Trace/BPT trap $SGML_JADE -t sgml $SGML_ARGUMENTS make[2]: *** [html/index.html] Error 8 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of make failed, exit code 2 Thanks, Sean -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users
Re: [Fink-users] Failed: phase compiling: esound-0.2.38-2 failed
Try fink install opensp4-shlibs-1.5.1 and then try to compile esound again. -- Dave On Feb 4, 2010, at 6:58 PM, Sean Lake wrote: Hello everyone, Here's the system info: fink --version Package manager version: 0.29.10 Distribution version: selfupdate-rsync Thu Feb 4 18:49:54 2010, 10.5, powerpc on a PPC G5 OS X 10.5.8. Here's the error text: Esound Configure Settings: Debugging support: no libwrap support: yes LIBS= -L/sw/lib -laudiofile -lm make -j2 EGREP='grep -E' max_cmd_len=1024 make all-recursive Making all in docs jw -f docbook -b html -o html ./esound.sgml Using catalogs: /sw/etc/sgml/catalog Using stylesheet: /sw/share/sgml/docbook/utils-0.6.14/docbook- utils.dsl#html Working on: /sw/src/fink.build/esound-0.2.38-2/esound-0.2.38/docs/./ esound.sgml dyld: Library not loaded: /sw/lib/libosp.4.dylib Referenced from: /sw/bin/openjade Reason: image not found /sw/share/sgml/docbook/utils-0.6.14/backends/html: line 6: 8699 Trace/BPT trap $SGML_JADE -t sgml $SGML_ARGUMENTS make[2]: *** [html/index.html] Error 8 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 ### execution of make failed, exit code 2 Thanks, Sean -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users