Having trouble installing Elm with cabal

Here's the result:
$ cabal install elm
Resolving dependencies...
In order, the following will be installed:
regex-base-0.93.2 (reinstall) changes: containers-0.5.1.0 -> 0.4.1.0
regex-pcre-builtin-0.94.2.1.7.7 (new package)
highlighting-kate-0.5.3.3 (new package)
pandoc-1.9.4.5 +blaze_html_0_5 (new package)
Elm-0.5.0 (new package)
Warning: Note that reinstalls are always dangerous. Continuing anyway...
Configuring regex-base-0.93.2...
Building regex-base-0.93.2...
Preprocessing library regex-base-0.93.2...
[1 of 4] Compiling Text.Regex.Base.RegexLike ( Text/Regex/Base/RegexLike.hs, dist/build/Text/Regex/Base/RegexLike.o )
[2 of 4] Compiling Text.Regex.Base.Context ( Text/Regex/Base/Context.hs, dist/build/Text/Regex/Base/Context.o )
[3 of 4] Compiling Text.Regex.Base ( Text/Regex/Base.hs, dist/build/Text/Regex/Base.o )
[4 of 4] Compiling Text.Regex.Base.Impl ( Text/Regex/Base/Impl.hs, dist/build/Text/Regex/Base/Impl.o )
Registering regex-base-0.93.2...
Installing library in /home/barry/.cabal/lib/regex-base-0.93.2/ghc-7.6.1
Registering regex-base-0.93.2...
Configuring regex-pcre-builtin-0.94.2.1.7.7...
Building regex-pcre-builtin-0.94.2.1.7.7...
Preprocessing library regex-pcre-builtin-0.94.2.1.7.7...
on the commandline: Warning:
-XPatternSignatures is deprecated: use -XScopedTypeVariables or pragma {-# LANGUAGE ScopedTypeVariables #-} instead
[1 of 6] Compiling Text.Regex.PCRE.Wrap ( dist/build/Text/Regex/PCRE/Wrap.hs, dist/build/Text/Regex/PCRE/Wrap.o )
Text/Regex/PCRE/Wrap.hsc:348:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_compile" c_pcre_compile
:: CString
-> CompOption
-> Ptr CString -> Ptr CInt -> CString -> IO (Ptr PCRE)
Text/Regex/PCRE/Wrap.hsc:352:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
:: Ptr PCRE
-> Ptr PCRE_Extra
-> CString
-> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
Text/Regex/PCRE/Wrap.hsc:352:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
:: Ptr PCRE
-> Ptr PCRE_Extra
-> CString
-> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
Text/Regex/PCRE/Wrap.hsc:352:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
:: Ptr PCRE
-> Ptr PCRE_Extra
-> CString
-> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
Text/Regex/PCRE/Wrap.hsc:352:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
:: Ptr PCRE
-> Ptr PCRE_Extra
-> CString
-> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
Text/Regex/PCRE/Wrap.hsc:352:1:
Unacceptable result type in foreign declaration: IO CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_exec" c_pcre_exec
:: Ptr PCRE
-> Ptr PCRE_Extra
-> CString
-> CInt -> CInt -> ExecOption -> Ptr CInt -> CInt -> IO ReturnCode
Text/Regex/PCRE/Wrap.hsc:354:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo
:: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt
Text/Regex/PCRE/Wrap.hsc:354:1:
Unacceptable result type in foreign declaration: IO CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_fullinfo" c_pcre_fullinfo
:: Ptr PCRE -> Ptr PCRE_Extra -> InfoWhat -> Ptr a -> IO CInt
Text/Regex/PCRE/Wrap.hsc:358:1:
Unacceptable argument type in foreign declaration: CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config
:: ConfigWhat -> Ptr a -> IO CInt
Text/Regex/PCRE/Wrap.hsc:358:1:
Unacceptable result type in foreign declaration: IO CInt
When checking declaration:
foreign import ccall unsafe "static pcre.h pcre_config" c_pcre_config
:: ConfigWhat -> Ptr a -> IO CInt
cabal: Error: some packages failed to install:
Elm-0.5.0 depends on regex-pcre-builtin-0.94.2.1.7.7 which failed to install.
highlighting-kate-0.5.3.3 depends on regex-pcre-builtin-0.94.2.1.7.7 which
failed to install.
pandoc-1.9.4.5 depends on regex-pcre-builtin-0.94.2.1.7.7 which failed to
install.
regex-pcre-builtin-0.94.2.1.7.7 failed during the building phase. The
exception was:
ExitFailure 1
Interestingly, when I try to install regex-pcre-builtin on its own, it first reinstalls regex-base-0.93.2, then fails. When I try to install elm after this, it also installs regex-base-0.93.2 before failing as shown above. Perhaps it isn't getting registered properly?
Google is alluding to an issue with the recent build of cabal-install or ghc. I downgraded cabal-install to 0.14 from 0.16, which did nothing. I'm very concerned about downgrading ghc, because pacman 1) warns of many broken packages if I do that, and 2) I use XMonad and don't want to break my system. I'm at a loss of how to continue. Can anyone offer insight?
Edit: GHC 7.6.1
Last edited by MeisBarry (2012-10-28 20:47:33)

ghc-pkg told me that regex-posix was a broken package. I unregistered it and reinstalled it with cabal. Then tried to install elm again:
$ cabal install elm
Resolving dependencies...
In order, the following would be installed:
regex-base-0.93.2 (reinstall) changes: containers-0.5.1.0 -> 0.4.1.0
regex-pcre-builtin-0.94.2.1.7.7 (new package)
highlighting-kate-0.5.3.3 (new package)
pandoc-1.9.4.5 +blaze_html_0_5 (new package)
Elm-0.5.0 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
regex-posix-0.95.2
Use --force-reinstalls if you want to install anyway.
So the install is breaking regex-posix by downgrading containers, it looks like.

Similar Messages

  • Having trouble installing Verizon with Yahoo on my Mac?

    I get to the point of it downloading the verizon.dmg file and then the program begins to run but is stuck on 0% with the white box just empty.
     I'm pretty good with this type of stuff but when its just stuck theres not much i can do. Any help appreciated.
    Thanks,
    Zach

    Let's us check something about IE, even if MS stopped making it.
    With IE running, go to Tools -> Internet Options -> Security.
    On my computer, there are different zone(s).
    If there is different zone(s) try going to the Internet Zone. Then moving the slider down for that zone. Or as need be pressing the button labeled default level.
    If any part of the "path" does not exist, please post. And in the post what part of the "path" is broken.
    Tools, according the screen shot at the URL below, should exist.
    http://www.operating-system.org/betriebssystem/_english/screenshot.php?bsgfx=apple/macosx103-scr-16....
    Message Edited by Kathleen on 10-21-2008 03:21 PM
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it. If anyone has been helpful to you, please show your appreciation by clicking the "Kudos" button.

  • I am having trouble installing Lightroom 5 with this error message: Payload: AdobeLightroom5CCMPkg-m

    I am having trouble installing lightroom 5 with this error message:
    Payload: AdobeLightroom5CCMPkg-mul 5.2.0.0 {4b06fc24-6249-4c57-9830-6008a3ce9a80} -----------
    ERROR: DW006: Apple Package failed to install successfully.
    ERROR: Third party payload installer Adobe Photoshop Lightroom 5.pkg failed with exit code: 1
    what should I do? Billmeb

    Hi BillMeb,
    Please refer the knowledge base article: http://helpx.adobe.com/lightroom/kb/exit-code-7-displays-installing.html.
    Regards,
    Romit Sinha

  • Having trouble installing iMovie HD on a new Mac with Mavericks

    I am having trouble installing iMovie HD on a new Mac with Mavericks.
    I know that iMovie HD works with Mavericks because we are using it on other Macs successfully.   However, those machines were upgraded starting with OS 10.6.   In other words, iMovie HD was installed on these Macs when the Macs had Snow Leopard.
    When I use the iLife 06 disc, I am presented with “You can't open the application “iLife 06” because PowerPC applications are no longer supported."
    I understand that iMovie HD  is universal, not PowerPC.  How can I get past this to install iMovie HD.
    Thanks

    OK, I made some progress.
    I used Pacifist (Shareware) to open the iMovie HD 6 install packages from the iLife '06 installer DVD (iMovie.pkg and iMovieThemes_Tiger.pkg) and let Pacifist install them to the right places.
    But doesn't iMovie HD 6 require QuickTime 7 to work ?

  • I am having trouble installing a Roland UM-One driver that is supposed to be compatible with this OS (10.7.1).  Any suggestions?

    I am having trouble installing a Roland UM-One midi interface driver  that is supposed to be compatible with this OS (10.7.2).  Any suggestions?

    Well, let's hope that nothing was jiggled out of place when you were installing the new hard drive. Your optical drive may just be out of alignment or the disc you have is "dirty." Get a lint-free cloth and some rubbing alcohol, then clean the disc as thoroughly as you can starting from the center and working outward in a concentric circlular motion. See if that helps. In particular clean the inner portion well.
    If this does not help, then you have a problem. You have opened the computer yourself. That action voids all support from Apple. If you take the computer in for service the store may refuse to service the computer. This is not related to your now expired warranty.

  • I am having trouble installing acrobat, when I run the programme it comes up with a script error

    I am having trouble installing acrobat when I run the file, it comes up with a script error

    Hi Pat
    Thanks for your email.  I was able to download and install this morning without any problems.  I uninstalled the old version yesterday and restarted my computer but still got errors.  However when I turned off last night, windows ran updates and that must of fixed the problem.  I also got rid of firefox and put of google chrome.  All to use Australia Posts click and send which wouldn't work because of an error with the plugin.  Thanks for your very quick reply, I appreciate your help.  Have a great day.  Best Regards Judy (moo2u2)

  • I' am having trouble installing a CD for school. Message reads "_ISDEL.EXE can not be extracted with this program"...how can i install .exe files??

    how can i open/install .exe files? i' am having trouble installing this CD for school

    Run Windows or find a Mac version of the software or buy a Windows computer.
    Windows on Intel Macs
    There are presently several alternatives for running Windows on Intel Macs.
    Install the Apple Boot Camp software.  Purchase Windows 7 or Windows 8.  Follow instructions in the Boot Camp documentation on installation of Boot Camp, creating Driver CD, and installing Windows.  Boot Camp enables you to boot the computer into OS X or Windows.
    Parallels Desktop for Mac and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  Parallels is software virtualization that enables running Windows concurrently with OS X.
    VM Fusion and Windows XP, Vista Business, Vista Ultimate, or Windows 7.  VM Fusion is software virtualization that enables running Windows concurrently with OS X.
    CrossOver which enables running many Windows applications without having to install Windows.  The Windows applications can run concurrently with OS X.
    VirtualBox is a new Open Source freeware virtual machine such as VM Fusion and Parallels that was developed by Solaris.  It is not as fully developed for the Mac as Parallels and VM Fusion.
    Note that Parallels and VM Fusion can also run other operating systems such as Linux, Unix, OS/2, Solaris, etc.  There are performance differences between dual-boot systems and virtualization.  The latter tend to be a little slower (not much) and do not provide the video performance of the dual-boot system. See MacTech.com's Virtualization Benchmarking for comparisons of Boot Camp, Parallels, and VM Fusion. A more recent comparison of Parallels, VM Fusion, and Virtual Box is found at Virtualization Benchmarks- Parallels 10 vs. Fusion 7 vs. VirtualBox. Boot Camp is only available with Leopard and later. Except for Crossover and a couple of similar alternatives like DarWine you must have a valid installer disc for Windows.
    You must also have an internal optical drive for installing Windows. Windows cannot be installed from an external optical drive.

  • Having trouble installing windows 7 with Parallels

    I am having trouble installing windows 7 with Parallels, i keep getting the following message: There is no operating system installed in this virtual machine. Please insert an operating system installation CD into the optical drive of your Mac and restart. Any thoughts?

    I would post in the Parallels forums.

  • I am having trouble installing Adobe Creative Cloud on my windows 7 laptop

    I am having trouble installing Adobe Creative Cloud on my Windows 7 laptop; i keep getting an error message
    this is what I get
    -- Payload: Acrobat Professional 11.0.0.0 {23D3F585-AE29-4670-8E3E-64A0EFB29240} -----------  ERROR: Error 1316.A network error occurred while attempting to read from the file C:\Windows\Installer\AcroStan.msi  ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation. MSI Error message: Error 1316.A network error occurred while attempting to read from the file C:\Windows\Installer\AcroStan.msi  ERROR: Third party payload installer AcroPro.msi failed with exit code: 1603

    http://helpx.adobe.com/creative-suite/kb/error-1603-fatal-error-occurred-1.html
    http://helpx.adobe.com/creative-suite/kb/errors-exit-code-6-exit.html
    Mylenium

  • Having trouble installing Adobe Reader 8, know it's outdated, job requires it. System is Windows 7

    having trouble installing Adobe Reader 8, know it's outdated, job requires it. System is Windows 7 Home Premium. Thank you.

    You may see if there are solutions in this old thread: http://forums.adobe.com/message/3063830
    Although that combination isn't supported, many people have made it work.
    Why would a job require Reader 8? All older files are compatible with newer versions. Or at least they should be.

  • Having trouble installing Photoshop  Elements 13. [was: I wonder if somehow I might have went to Creative cloud because something crossed my screen, but I am not used to doing this so]

    I could really use Customer Service help. I received Photoshop Elements as a gift for Christmas...I waiting until i got a new laptop so that I could use that as i was having trouble with older computer. However, I am having trouble installing the software...I swear the dvd added the programs, and I saw them in files explorer i think, but then I cannot find or I was not even able to add the serial number to my knowledge, because it was blank...no keystrokes were shown...and i don't see the program anywhere...Could I have down something wrong and it is somewhere in the cloud?

    Thank you. That's what I first thought that I didn't need to do anything
    but install from the dvd drive. However after the agreement, it asks me to
    sign in at adobe. (Sorry, I'm a little tired of looking at this right
    now)...I'll try again tomorrow.
    There is no one that I see how to start using the program as I must sign
    in. However, I have never been able to get the number to your firm. Or get
    the correct number... I think I clicked on a learning tutorial or browsed
    Adobe's website to learn more, but got caught up in all the details.
    I never uninstalled virus protection to run it because I thought that it
    would ask. I'll try again tomorrow I am frustrated. Thank you for your
    patience. I appreciate it totally. It's really sad cause I really wanted to
    create. I have wanted this for a very long time and I can't believe how
    difficult this has been. It would be really nice to know what is really
    wrong. I must not be seeing something or I've done something.
    On Mon, Apr 6, 2015 at 10:08 PM, Ned Murphy <[email protected]>

  • Is anyone having trouble installing Adobe flash player on a MacBook Pro?

    Is anyone having trouble installing Adobe flash player on a MacBook Pro with OSX 10.7.5?

    Thanks for your help here is what I did so far!
    I have uninstalled Adobe and reinstalled it, I've tried restarting my browser, then my MacBook Pro without any success!
    When I click on the Apple in the upper left hand corner and open System Preferences I can see Adobe Flash Player on the bottom under the Other section.
    If I open Adobe up and check the version it tells me that I have the most recent version!
    I even uninstalled Adobe and installed the newest Beta version, but Adobe is still not working! If I check for the latest version it tells me that I do have the latest beta version, but it still doesn't work!
    If the person who made the video used any other video player it works!
    Their player, plays the video without a problem!

  • Having trouble installing Photoshop & Illustrator on Mac OSX 10.7.4

    Hello Im having trouble installing Photoshop CS6 and Illustator CS6. I am geting the following errow while trying to install in Creative Cloud Download Manager:
    Exit Code: 34
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 0 error(s), 0 warning(s)
    FATAL: Payload '{9FC6805B-9FD9-410A-A620-51D58644999D} Camera Profiles Installer_7.1_AdobeCameraRawProfile7.0All 6.2.10.0' information not found in Media_db.
    What should I do? I've installed them before, but uninstalled them both. Now I am getting the following error. Thanks! Any help will be appreciated.

    It is difficult to determine the point of failure from your install log summary.  I would recommend reviewing the install logs in their entirety to locate the exact error.  You can find details on how to accompplish this at Troubleshoot with install logs | CS5, CS5.5, CS6 - http://helpx.adobe.com/creative-suite/kb/troubleshoot-install-logs-cs5-cs5.html.

  • Having trouble installing ProIX on new Windows 8 machine after XP crash.  Get almost ll of the way through and get an error box ... contact system support.  Only way out is to abort and then it un-installs.  Wondering if a licensing max issue since we did

    having trouble installing ProIX on new Windows 8 machine after XP crash.  Get almost ll of the way through and get an error box ... contact system support.  Only way out is to abort and then it un-installs.  Wondering if a licensing max issue since we didn't get an opportunity to uninstall off of crashed machine?

    Hey robr72339266,
    With a single user license, you can install Acrobat on maximum two computers, say, your laptop at work and desktop at office.
    But, you cannot use Acrobat on both the machines simultaneously.
    You will first need to deactivate Acrobat from the old machine, then install and activate the software on the new OS with the same serial key.
    Please Contact | Adobe to seek help on the same.
    Regards,
    Anubha

  • Iam having trouble installing fire fox on my mac os x 10.6.8 it downloads but never goes to the final step to drag the download to my applications do i have a setting that is not allowing it to finish

    having trouble installing fire fox on my mac computer

    Download and install this update combo. This update combo for Snow Leopard can bring any version of Snow Leo up to 10.6.8 with the lastest version of App Store for Snow Leo.
    OS X Snow Leopard 10.6.8 v1.1 update combo
    http://support.apple.com/kb/DL1399

Maybe you are looking for