Sponsored Content
Full Discussion: Running gsl on FreeBSD
Operating Systems BSD Running gsl on FreeBSD Post 302445322 by figaro on Sunday 15th of August 2010 09:31:16 AM
Old 08-15-2010
Running gsl on FreeBSD

I have been trying to run GSL (GSL - GNU Scientific Library - GNU Project - Free Software Foundation (FSF)) programs in FreeBSD. The library was installed fisrt via make and later via the ports:
Code:
cd /usr/ports/math/gsl/ && make install clean
pkg_add -r gsl

Both installation methods worked, to the extent that no error message appeared. However when trying to compile code that uses GSL, the following error message appears:
Code:
configure: error: cannot find gsl headers

Also, when trying one of the sample programs from here Sample Codes Using GSL Routines
the following is the result:
Code:
g++ -Wall -c qagiu_test.cpp
qagiu_test.cpp:99:33: error: gsl/gsl_integration.h: No such file or directory

How to resolve the headers issue?
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Freebsd 4.5

i am new at unix and am VERY confused about the compression processes. what progs do i need to unzip and zip files? there must be a standard one similar to winzip? (1 Reply)
Discussion started by: Mindscan
1 Replies

2. UNIX for Dummies Questions & Answers

FreeBSD

What is FreeBSD, who does use Free? (3 Replies)
Discussion started by: cyberangel
3 Replies

3. UNIX for Advanced & Expert Users

How to prevent job1 from running while job2 is running..

Hi, Please I need your expert advise on how to prevent/lock from execution job1 while job2 is still running in Unix... THanks:) (3 Replies)
Discussion started by: tikang
3 Replies

4. Solaris

Running from Shell Vs running from RC script

Hi, i have a script which need to do behave differently when run as a startup process from init.d/ rc2.d script and when run manually from shell. How do i distinguish whether my script is run by init process or by shell?? Will the command /proc/$$/psinfo | grep "myscript" work well???... (2 Replies)
Discussion started by: vickylife
2 Replies

5. Programming

Application crashes in FreeBSD 7.1 while working ok in FreeBSD 6.3

Hello there, My mulithreaded application (which is too large to represent the source code here) is crashing after installing FreeBSD 7.1-RELEASE/amd64. It worked properly on others machines (Dual Cores with 4GB of RAM - FreeBSD 6.2-RELEASE/i386). The current machine has 2x Core 2 Duo... (1 Reply)
Discussion started by: Seenquev
1 Replies

6. BSD

How to PuTTY to FreeBSD running on a VM

Hi all. I have freebsd running on a vm (with a private ip). Is it possible to putty to this vm ? Plz advise. vm is vmware server . Thanks. (5 Replies)
Discussion started by: coolatt
5 Replies

7. Fedora

FreeBSD

I'm using Windows mostly and the only *nix thing I used during my life was cygwin (I like command line :)). But currently I have (by an occasion) a DVD with latest FreeBSD. I don't know why, but I want to install it... But probably, this OS is too difficult for a beginner. I heard, it's used on... (3 Replies)
Discussion started by: TeenageWerewolf
3 Replies

8. Shell Programming and Scripting

Running Total Running Wild

Hi. A shell scripting newbie here. I am trying to write a script that will create a running total of Sales, and increment a counter for each Sales entry, but when I executed the program it never stopped. counter=0 Sales=0 echo "enter sales price" read sales while do let counter=counter+1... (6 Replies)
Discussion started by: Ccccc
6 Replies
GSL(1)							      General Commands Manual							    GSL(1)

NAME
gsl-config - script to get version number and compiler flags of the installed GSL library SYNOPSIS
gsl-config [--prefix] [--version] [--libs] [--libs-without-cblas] [--cflags] DESCRIPTION
gsl-config is a tool that is used to configure to determine the compiler and linker flags that should be used to compile and link programs that use GSL. It is also used internally to the .m4 macros for GNU autoconf that are included with GSL. OPTIONS
gsl-config accepts the following options: --version Print the currently installed version of GSL on the standard output. --libs Print the linker flags that are necessary to link a GSL program, with cblas --libs-without-cblas Print the linker flags that are necessary to link a GSL program, without cblas --cflags Print the compiler flags that are necessary to compile a GSL program. --prefix Show the GSL installation prefix. SEE ALSO
gtk-config(1), gnome-config(1) COPYRIGHT
Copyright (C) 2001 Christopher R. Gabriel Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, pro- vided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in sup- porting documentation. 22 May 2001 GSL(1)
All times are GMT -4. The time now is 08:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy