Re: [PATCH] Cope if COPYING or INSTALL aredirs.
Yaakov (Cygwin Ports) wrote on 01 June 2008 05:38: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > Dave Korn wrote: >> Something like this is required to support cygportification of >> gcc-4.3.0. > > That's a first. There's a dir named COPYING or INSTALL at the gcc > toplevel? Yeah, it's full of the html build docs same as at http://gcc.gnu.org/install/ > Does gcc still not use automake at the toplevel? I dunno exactly what gcc does at the toplevel, it generates a Makefile.in using autogen, so quite likely it does bypass automake altogether and just uses that to feed configure. But in any case, GCC hasn't changed, it's always been this way, at least as far back as 2.95.3. In fact, that far back it even had two directories, one called INSTALL/ and one called install/, both at the top-level. On cygwin the two get conflated if you don't use a managed mount, and sometime between 2.95 and 3.3 they got merged into one, presumably for the sake of avoiding case-insensitive fs problems. cheers, DaveK(Continue reading)
Regarding cygconf()
There was just one other thing ... </columbo>
# Set default configure arguments
confargs="--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin \
--sbindir=/usr/sbin --libexecdir=/usr/sbin \
--localstatedir=/var --sysconfdir=/etc"
case "x$(grep -m 1 'GNU Autoconf' ${configure} | cut -d ' ' -f 6)" in
x2.6[0-9]*)
confargs+=" --datarootdir=/usr/share --docdir=/usr/share/doc/${P}"
;;
*)
confargs+=" --datadir=/usr/share --infodir=/usr/share/info \
--mandir=/usr/share/man"
;;
esac
This bit causes me problems. For some reason the autoreconf stage only
regenerates the configure scripts in the top level and in the libstdc++-v3
subdir. The original configure scripts in the gcc tarball are built by
autoconf-2.59, but I've got 2.61 on my build machine. The consequence is
that I end up with a mixture of 2.59 and 2.61 configure scripts, and
confargs are set appropriately for the top-level 2.61-built script, which
means that when we configure in the subdirs based on 2.59-built scripts, it
errors out:
Configuring stage 1 in ./intl
configure: error: unrecognized option: --datarootdir=/usr/share
Try `/gnu/gcc/package/gcc4-4.3.0-1/src/gcc-4.3.0/intl/configure --help' for
(Continue reading)Re: Regarding cygconf()
Dave Korn wrote:
| This bit causes me problems. For some reason the autoreconf stage only
| regenerates the configure scripts in the top level and in the libstdc++-v3
| subdir. The original configure scripts in the gcc tarball are built by
| autoconf-2.59, but I've got 2.61 on my build machine. The consequence is
| that I end up with a mixture of 2.59 and 2.61 configure scripts, and
| confargs are set appropriately for the top-level 2.61-built script, which
| means that when we configure in the subdirs based on 2.59-built
scripts, it
| errors out:
| Is the autoreconf step meant to regenerate all configure scripts,
| regardless, or is this (mixed-version configure scripts in one build)
just a
| corner-case that isn't handled?
autoreconf will regenerate subdir configure scripts that are defined in
AC_CONFIG_SUBDIRS. Running subdir configure's without this macro is
definitely a corner case; you'll need to do something like:
src_compile() {
local d
cd ${S}
for d in $(find . -name configure.ac)
do
(cd ${S}/${d%/*}; cygautoreconf)
done
cd ${B}
(Continue reading)trouble running php
Hi all, when running php5 I'm getting some DLL load warnings on my W2K3 box. I've scanned the archives but couldn't find a solution. this is the output of php.exe: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/cairo_wrapper.dll' - No such process in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/php_gtk2.dll' - No such file or directory in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/sqlite3.dll' - No such process in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20060613/tidy.dll' - No such process in Unknown on line 0 I've run cygchecks on all of them, and are left with one missing dll: cygpangocairo-1.0-0.dll, linked from /usr/lib/php/20060613/php_gtk2.dll Anyone have an idea where to get that? I've already searched on the package list to no avail. My path: $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/bin:/usr/X11R6/bin in windows: D:\cygwin>path PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\cygwin\bin;D:\cygwin\usr\X11R6\bin(Continue reading)
Trying CAMP - Can't get MySQL to work consistently
Hello,
First of all, thanks for your time and hard work on this project; it makes things easier to get something up, ready and fast on Windows-machines. Meanwhile, I was able to get Apache and PHP to run okay. In terms of MySQL, I'm not too sure of.
MySQL. I did the following after setup:
* Copied my-small.cfn to /etc/my.cnf and added the following under [mysqld]:
skip-innodb
skip-grant-tables
set-variable=lower_case_table_names=2 //to get rid of an warning(?)
* Executed "/usr/bin/mysql_install_db". I guess these updated "/var" directory.
* Then executed "/usr/sbin/mysqld &".
* Seems to work fine after looking at "ps -elf".
* But I ran into a couple of kinks where if I were to "quit" after using the "mysql" command, the "mysqld" process seems to quit.
Any advice/pointers greatly appreciated.
Thanks,
Sherwin
PS. It would be nice if there is a writeup/tutorial/walkthrough on getting CAMP to work on Windows for search engine results.
PPS. I'm on Vista Ultra x64 if that makes a difference. Running Cygwin(.bat) as XP SP2 compatible.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
Cannot Retrieve Packages from sunsite.dk
Hi all!
I cannot retrieve many packages such as "tcltk" from sunsite.dk. I am
getting "Download Incomplete. Try again?" message.
I'm using Windows XP. (SP2 or SP3).
My IP is 62.219.139.216 .
Regards,
Shlomi Fish
--
--
------------------------------------------
Shlomi Fish http://www.shlomifish.org/
Electrical Engineering studies. In the Technion. Been there. Done
that. Forgot a lot. Remember too much.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
Re: Trying CAMP - Can't get MySQL to work consistently
Sherwin Techico wrote: | Hello, | | First of all, thanks for your time and hard work on this project; it | makes things easier to get something up, ready and fast on | Windows-machines. Meanwhile, I was able to get Apache and PHP to run | okay. In terms of MySQL, I'm not too sure of. I can't speak for the usability of the Cygwin MySQL server; there have been varied reports. I recommend using a Win32 server with a Cygwin client; I use this configuration on a daily basis. | PS. It would be nice if there is a writeup/tutorial/walkthrough on | getting CAMP to work on Windows for search engine results. | PPS. I'm on Vista Ultra x64 if that makes a difference. Running | Cygwin(.bat) as XP SP2 compatible. There have been previous discussions about CAMP on this list. You'll need to install apache2, apache2-mod_php5, php-mysql (and whichever other extensions your scripts may require), adjust your httpd.conf accordingly, and possibly run rebaseall. It shouldn't be all that different from getting LAMP working, except that you may use a Win32 server (as a "network" 127.0.0.1 server) rather than a local server with ~ mysql.sock. Yaakov Cygwin Ports
Re: Trying CAMP - Can't get MySQL to work consistently
Thanks for the reply.
<at> Yaakov: In terms of the following...
* "I recommend using a Win32 server with a Cygwin client; I use this configuration on a daily basis."
* "It shouldn't be all that different from getting LAMP working, except that you may use a Win32 server (as a "network" 127.0.0.1 server) rather than a local server with ~ mysql.sock."
I was able to get Apache2 and PHP working after a couple of re-installs. Are you just referring to the binary install of MySQL5 (http://dev.mysql.com/doc/refman/5.0/en/windows-install-wizard.html)?
TIA
Sherwin
PS. Just in case someone else new to this needs to know how to get Apache2 and PHP working, here are some tidbits (feel free to optimize):
* After getting the packages, and do a rebaseall (quit any cygwin proggies, open up cmd prompt start->run->cmd, run to "c:\cygwin\bin\ash.exe", cd "/usr/bin", run "rebaseall")
* Add/start cygserver as a service if it isn't already. Open bash/cygwin prompt (as Admin if any in Vista). Do the following:
$ cygrunsrv -I cygserver
$ net start cygserver
* Open/edit the file "/etc/apache2/httpd.conf", and add line "LoadModule php5_module lib/apache2/cygphp5.so". I also added "ServerName XXX.XXX.XXX.XXX" (my IP address) to get rid of an error message when loading up Apache.
* (Optional) Open/edit hosts file. Add IP address and your machine's name.
* Start Apache2. I added these to my .profile/.bash_profile files:
alias apachectl='/usr/sbin/apachectl2'
alias apachestart='apachectl start'
alias apachestop='apachectl stop'
alias apacherestart='apachectl restart'
HTH
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256I can't speak for the usability of the Cygwin MySQL server; there have
Sherwin Techico wrote:
| Hello,
|
| First of all, thanks for your time and hard work on this project; it
| makes things easier to get something up, ready and fast on
| Windows-machines. Meanwhile, I was able to get Apache and PHP to run
| okay. In terms of MySQL, I'm not too sure of.
been varied reports. I recommend using a Win32 server with a Cygwin
client; I use this configuration on a daily basis.There have been previous discussions about CAMP on this list. You'll
| PS. It would be nice if there is a writeup/tutorial/walkthrough on
| getting CAMP to work on Windows for search engine results.
| PPS. I'm on Vista Ultra x64 if that makes a difference. Running
| Cygwin(.bat) as XP SP2 compatible.
need to install apache2, apache2-mod_php5, php-mysql (and whichever
other extensions your scripts may require), adjust your httpd.conf
accordingly, and possibly run rebaseall. It shouldn't be all that
different from getting LAMP working, except that you may use a Win32
server (as a "network" 127.0.0.1 server) rather than a local server with
~ mysql.sock.
Yaakov
Cygwin Ports
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEAREIAAYFAkhWki4ACgkQpiWmPGlmQSMqCwCgs4Z51zVkroctgHEk/OUcppCP
lG8AoPd0iI15cQ0OLk5WZcyPd1FtNfMp
=mUZc
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Cygwin-ports-general mailing list
Cygwin-ports-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/cygwin-ports-general
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php
RSS Feed