Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <41968942.8030808@familiehaase.de> Date: Sat, 13 Nov 2004 23:22:58 +0100 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; de-AT; rv:1.7.3) Gecko/20040910 MIME-Version: 1.0 To: Pieter de Zwart CC: cygwin AT cygwin DOT com Subject: Re: libmcrypt make issues... References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Pieter de Zwart wrote: > Please dont flame, I am a n00b, but I have done some research.. > I am trying to run a little PHP daemon that requires the blowfish > encryption algorithm. As such, I tried to install the libmcrypt library > and then compile PHP, but so far, I have failed over and over again. > The first time i tried to install libmcrypt, I ran configure with > --disable-posix-threads like the PHP manual instructs me to do, and then > I ran make, which yielded the standard: > undefined reference to `_WinMain AT 16' > I then tried to do make -i, but i get a whole bunch of errors (see > attachment) > then, if I run which libmcrypt, which i think is the way to see if > something is installed, I get nothing. > I also tried compiling php with --with-mcrypt=/full/path/to/mcrypt.h and > that failed also (configure: error: mcrypt.h not found. Please reinstall > libmcrypt.) > Could someone please help me out!? I am getting kinda desperate here, > and I dont have the experience to duke this one out on my own. > thank you > Pieter Are the libmcrypt and libmcrypt-devel packages from the cygwin mirrors not sufficient? Just install the two packages using setup.exe. PHP is somewhat broken, well say cygwin builds are not supported, try: --with-mcrypt=shared \ --enable-mcrypt=shared \ since the mycrypt header is in a default location it should be detected by configure automatically, maybe also try --with-mcrypt=/usr. Gerrit -- =^..^= -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/