[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rép. : [Help-mcsim] configure: error: You first need to install the
From: |
Bill Harris |
Subject: |
Re: Rép. : [Help-mcsim] configure: error: You first need to install the 'gslcblas' library to build MCSim |
Date: |
Tue, 04 May 2010 06:03:53 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
"Frederic BOIS" <address@hidden> writes:
> ldconfig should work. What was the output of "/sbin/ldconfig -v"?
$ sudo /sbin/ldconfig -v > ldconfig.txt
gives ~1K lines. figuring you just want the gsl part, I'll skip to your
next question...
> Can you do "/sbin/ldconfig -p | grep gsl" or "/sbin/ldconfig | more" to
> check the results of ldconfig?
$ /sbin/ldconfig -p | grep gsl
libgslcblas.so.0 (libc6) => /usr/lib/libgslcblas.so.0
libgsl.so.0 (libc6) => /usr/lib/libgsl.so.0
> You may need to give ldconfig full path, as it is usually not in the
> PATH of standard user, as it sits in /sbin
Actually, it is in my PATH FWIW.
Someone asked offline about config.log. Here's the pertinent part:
configure:2856: checking for main in -lgslcblas
configure:2880: gcc -o conftest -g -O2 conftest.c -lgslcblas -lm >&5
/usr/bin/ld: cannot find -lgslcblas
collect2: ld returned 1 exit status
configure:2886: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define HAVE_LIBM 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| main ();
| ;
| return 0;
| }
configure:2912: result: no
configure:2924: error: You first need to install the 'gslcblas' library to
build MCSim
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_c_compiler_gnu=yes
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_lib_gslcblas_main=no
ac_cv_lib_m_main=yes
ac_cv_objext=o
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_DATE_FOUND=yes
ac_cv_prog_GV_FOUND=yes
ac_cv_prog_INFO_FOUND=yes
ac_cv_prog_INSTALINFO_FOUND=yes
ac_cv_prog_MAKEINFO_FOUND=yes
ac_cv_prog_PLOT_FOUND=yes
ac_cv_prog_TDVI_FOUND=yes
ac_cv_prog_TEX_FOUND=yes
ac_cv_prog_THTML_FOUND=yes
ac_cv_prog_TOUCH_FOUND=yes
ac_cv_prog_WISH_FOUND=yes
ac_cv_prog_ZIP_FOUND=yes
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_cc_g=yes
ac_cv_prog_cc_stdc=
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
CC='gcc'
CFLAGS='-g -O2'
CPP=''
CPPFLAGS=''
DATE_FOUND='yes'
DEFS=''
DVI_FOUND=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GV_FOUND='yes'
INFO_FOUND='yes'
INSTALINFO_FOUND='yes'
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
LDFLAGS=''
LIBOBJS=''
LIBS='-lm '
LTLIBOBJS=''
MAKEINFO_FOUND='yes'
OBJEXT='o'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PLOT_FOUND='yes'
SET_MAKE=''
SHELL='/bin/bash'
TDVI_FOUND='yes'
TEX_FOUND='yes'
THTML_FOUND='yes'
TOUCH_FOUND='yes'
WISH_FOUND='yes'
ZIP_FOUND='yes'
ac_ct_CC='gcc'
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define HAVE_LIBM 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
configure: exit 1
That's about all I know right now.
Thanks,
Bill
--
Bill Harris http://makingsense.facilitatedsystems.com/
Facilitated Systems Everett, WA 98208 USA
http://www.facilitatedsystems.com/ phone: +1 425 374-1845