Pugs.hs icon indicating copy to clipboard operation
Pugs.hs copied to clipboard

It does not compile under Windows 7

Open jaffa4 opened this issue 8 years ago • 4 comments

Hi,

It does not compile under Windows 7 if I use cabal install pugs. I used HaskellPlatform-7.10.3-x86_64-setup.exe

set path=%path%;L:\Program Files\Haskell Platform\7.10.3\bin ldflags: -L"C:\Perl16_2\lib\CORE" does not contain -libpath: at Configure.PL line 39. Warning: defaultUserHooks in Setup script is deprecated. Configuring Pugs-6.2.13.20150815... Warning: 'extra-lib-dirs: /usr/lib' directory does not exist. Warning: 'extra-lib-dirs: /opt/local/lib' directory does not exist. setup.exe: Missing dependency on a foreign library:

  • Missing (or bad) header file: perl5/p5embed.h This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is. If the header file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. Failed to install Pugs-6.2.13.20150815 cabal.exe: Error: some packages failed to install: Pugs-6.2.13.20150815 failed during the configure step. The exception was: ExitFailure 1

jaffa4 avatar May 02 '16 10:05 jaffa4

Which Perl should I use? The Perl installations I have do not have the header file.

jaffa4 avatar May 02 '16 10:05 jaffa4

"Currently, the Pugs.hs project exists mainly for historical/archival purposes, not for active development. (Forks are, of course, very much welcome.)" -- I think it isn't expected to compile -- are you trying to revive it?

awwaiid avatar May 02 '16 10:05 awwaiid

(Try Strawberry Perl which does come with the header files.)

audreyt avatar May 02 '16 12:05 audreyt

not in the current portable Strawberry Perl, that was my first thought.

jaffa4 avatar May 02 '16 16:05 jaffa4