> should work for your setup. What is the output of:
>
>     ghc-pkg -l

/usr/local/lib/ghc-6.0.1/package.conf:
    rts, base, haskell98, network, haskell-src, readline, OpenGL, GLUT,
    unix, lang, concurrent, posix, util, data, text, net, hssource

>     ghc-pkg -s OpenGL

Package
   {name = "OpenGL",
    auto = True,
    import_dirs = ["$libdir/imports"],
    source_dirs = [],
    library_dirs = ["$libdir"],
    hs_libraries = ["HSOpenGL"],
    extra_libraries = ["HSOpenGL_cbits"],
    include_dirs = [],
    c_includes = ["HsOpenGL.h"],
    package_deps = ["base"],
    extra_ghc_opts = [],
    extra_cc_opts = ["", "-I/usr/X11R6/include"],
    extra_ld_opts =
      ["",
       "-lGLU",
       "-lGL",
       "-L/usr/X11R6/lib",
       "-lSM",
       "-lICE",
       "-lXext",
       "-lX11",
       "-lm"],
    framework_dirs = [],
    extra_frameworks = []}

>     ghc-pkg -s GLUT

Package
   {name = "GLUT",
    auto = True,
    import_dirs = ["$libdir/imports"],
    source_dirs = [],
    library_dirs = ["$libdir"],
    hs_libraries = ["HSGLUT"],
    extra_libraries = ["HSGLUT_cbits"],
    include_dirs = [],
    c_includes = ["HsGLUT.h"],
    package_deps = ["base", "OpenGL"],
    extra_ghc_opts = [],
    extra_cc_opts = ["", "-I/usr/X11R6/include"],
    extra_ld_opts =
      ["",
       "-lglut",
       "-L/usr/X11R6/lib",
       "-lSM",
       "-lICE",
       "-lXmu",
       "-lXt",
       "-lXi",
       "-lXext",
       "-lX11",
       "-lm"],
    framework_dirs = [],
    extra_frameworks = []}
-----------------------------------------------------------------------


Regards,
-- 
Arun Kumar S Jadhav
Masters Student, SIC-309,
KReSIT,
IIT-Bombay,
India
Ph: +91-22-25764967
http://www.it.iitb.ac.in/~arunk
*****************************
Never negotiate out of fear
Never fear to negotiate
*****************************
_______________________________________________
Glasgow-haskell-users mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-users

Reply via email to