Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 536339
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:48:41+00:00 2026-05-13T09:48:41+00:00

running cabal install sdl-mpeg $ ls -l /usr/include/smpeg/smpeg.h -rw-r–r– 1 root root 7503 2008-11-05

  • 0

running “cabal install sdl-mpeg”

$  ls -l /usr/include/smpeg/smpeg.h 
-rw-r--r-- 1 root root 7503 2008-11-05 18:07 /usr/include/smpeg/smpeg.h
$ cabal install sdl-mpeg
Resolving dependencies...
Configuring SDL-mpeg-0.0.1...
cabal: Missing dependency on a foreign library:
* Missing header file: smpeg.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.
cabal: Error: some packages failed to install:
SDL-mpeg-0.0.1 failed during the configure step. The exception was:
exit: ExitFailure 1

I tried using –extra-include-dirs=/usr/include/smpeg and setting the same in ~/.cabal/config, but to no avail. I even tried linking smpeg.h in /usr/include.

I’m running Ubuntu 9.10 Karmic Koala

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:48:42+00:00Added an answer on May 13, 2026 at 9:48 am

    Using “cabal -v3”, I tracked down a solution:

    sudo apt-get install libsmpeg-dev
    cabal --extra-include-dirs=/usr/include/smpeg --extra-include-dirs=/usr/include/SDL install sdl-mpeg
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When I do cabal install GLFW-b I get an error: Resolving dependencies... <command line>:
I'm attempting to build/install Cabal on my system and I'm running into the following
I find cabal 's behavior when installing packages maddening. For example, running cabal install
Running Solr on Tomcat 7 on Win 2008 Server. I am looping through a
Running SQL Server 2008 (not R2). I have a few reports that have URLs
Running Win7 (machine was delivered with it) and Visual Studio 2008 (ver 9.0.21022.8 RTM).
When I run cabal install c2hs , it seems to finish correctly, but doesn't
Yesterday I had a failing darcs install with cabal, today I get this when
I did a fresh install of yesod (cabal install yesod) and tried the form-example
Running OS X Leopard an MacBook Pro from Jan. 2008. I used to run

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.