Comments (3)
Thanks for the report. Could you send me the following:
- the output from the command
gsl-config --libs
- the output from the command
gsl-config --cflags
- the file
gsl-random-0.4.1-*.conf
(where '*" is a long hex string) fromghc/package.conf.d
. For the precise directory location, runghc-pkg list gsl-random
.
from hs-gsl-random.
Thanks for your help, here's the output of the commands (with your email obfuscated a bit, just in case):
- $ gsl-config --libs
-L/usr/lib -lgsl -lgslcblas -lm - $ gsl-config --cflags
-I/usr/include - $ cat /var/lib/ghc-6.12.1/package.conf.d/gsl-random-0.4.1-3b837d038bb4bd0b076f0b28a1129f88.conf
name: gsl-random
version: 0.4.1
id: gsl-random-0.4.1-3b837d038bb4bd0b076f0b28a1129f88
license: BSD3
copyright: Patrick Perry,
Tracy Wadleigh
maintainer: Patrick Perry [email protected]
stability:
homepage: http://github.com/patperry/gsl-random
package-url:
description: Bindings to the GNU Scientific Library random and quasi-random number
generators and random distributions.
category: Math
author: Patrick Perry,
Tracy Wadleigh
exposed: True
exposed-modules: GSL.Random.Gen GSL.Random.Dist GSL.Random.Quasi
hidden-modules: GSL.Random.Gen.Internal GSL.Random.Quasi.Internal
import-dirs: /usr/local/lib/gsl-random-0.4.1/ghc-6.12.1
library-dirs: /usr/local/lib/gsl-random-0.4.1/ghc-6.12.1 /usr/lib
hs-libraries: HSgsl-random-0.4.1
extra-libraries: gsl gslcblas m
extra-ghci-libraries:
include-dirs: /usr/include
includes:
depends: base-4.2.0.0-73995e854f236dc2acd577d7c791221d
hugs-options:
cc-options:
ld-options:
framework-dirs:
frameworks:
haddock-interfaces: /usr/local/share/doc/gsl-random-0.4.1/html/gsl-random.haddock
haddock-html: /usr/local/share/doc/gsl-random-0.4.1/html
from hs-gsl-random.
Works for me if I remove the lines
if !os(darwin)
cc-options: -fPIC
, as suggested by Patrick. Should it read
if os(windows)
cc-options: -fPIC
instead?
from hs-gsl-random.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hs-gsl-random.