Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

It does not compile under Windows 7 #31

Open
jaffa4 opened this issue May 2, 2016 · 4 comments
Open

It does not compile under Windows 7 #31

jaffa4 opened this issue May 2, 2016 · 4 comments

Comments

@jaffa4
Copy link

jaffa4 commented May 2, 2016

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
Copy link
Author

jaffa4 commented May 2, 2016

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

@awwaiid
Copy link

awwaiid commented May 2, 2016

"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?

@audreyt
Copy link

audreyt commented May 2, 2016

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

@jaffa4
Copy link
Author

jaffa4 commented May 2, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants