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: <42A578A8.1010702@familiehaase.de> Date: Tue, 07 Jun 2005 12:36:24 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Thomas Rabe CC: cygwin AT cygwin DOT com Subject: Re: Problems with perl and pod2html References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Thomas Rabe wrote: > Hello, > I'm trying to compile a project under windows 2000 professional using > MSVC C++ 6.0 and the cygwin package and get the following message: > > > text2pcap-scanner.c > Linking text2pcap.exe > link @C:\DOCUME~1\rt7zfe\LOCALS~1\Temp\nmf01876. > cd doc > NMAKE / -f Makefile.nmake > > Microsoft (R) Program Maintenance-Dienstprogramm: Version 6.00.8168.0 > Copyright (C) Microsoft Corp 1988-1998. Alle Rechte vorbehalten. > > bash pod2html --title="The Ethereal Network pod2html is a perl program, call it with "perl ...". > Analyzer > 0.10.10" --noindex ethereal-tmp.pod > > ethereal.html > bash.exe: warning: could not find /tmp, please create! > pod2html: line 1: c:/programme/cygwin/usr/bin/perl: is a directory > pod2html: line 1: exec: c:/programme/cygwin/usr/bin/perl: cannot > execute: No error > NMAKE : fatal error U1077: 'bash' : Rueckgabe-Code '0x7e'Stop. > NMAKE : fatal error U1077: 'C:\Programme\MVS\VC98\bin\NMAKE.EXE' : > Rueckgabe-Code '0x2' > Stop. > > D:\Ethernet\ethereal-0.10.10> > > > > > > Pod2html seems to need an executable file with the path usr/bin/perl. > The beginning of pod2html is: > > > > #!/usr/bin/perl > eval 'exec c:programme/cygwin/usr/bin/perl -S $0 ${1+"$@"}' At least it should be c:/programme/cygwin/usr/bin/perl, better just leave it as is? However it is wrong anyway. In a Cygwin environment usr/bin is just a mount which points to /bin, so all the executables are actually in c:/programme/cygwin/bin/ > (I had to change the path from usr/bin/perl, because it wasn't found) > if $running_under_some_shell; If you need to call it from bash, then see above about using the correct syntax for paths. Why wasn't it found by bash? Have you Cygwin perl installed at all? > =pod > > =head1 NAME > > pod2html - convert .pod files to .html files > > > > > But in the cygwin package usr/bin/perl is an empty dirctory (as stated > in the message). The /tmp directory exists, too. So I'm a bit confused. > Can anybody help me? Thank you. No. There are no directories below usr/bin and there is no directory usr/bin. Your installation is messed up, delete the directory C:/Programme/cygwin/usr/bin. Then reinstall perl and maybe other packages. 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/