CentOS 5 :: How To Compile Lapack
Mar 26, 2010I am using CentOS5 and install lapack library with yum. But when I try to compile a simple program it returns
So how to link lapack library into my program so the compilation goes without errors?
I am using CentOS5 and install lapack library with yum. But when I try to compile a simple program it returns
So how to link lapack library into my program so the compilation goes without errors?
I'm trying to compile a program on CentOS 5.2. It's giving the following error. Does anyone have a clue what it means?
/net/hulk/home4/tedhyu/openmpi/openmpi-1.1.1/install/bin/mpif77 -o quest_ompi.x lcaomain_tp.o utl_mpi.o lcaosubs_tp.o lcaosubs.o /project/source/seqquest/libs_32/scalapack-1.8.0/libscalapack.a /project/source/seqquest/libs_32/BLACS/LIB/blacsCinit_MPI-LINUX-1.a /project/source/seqquest/libs_32/BLACS
[code]....
How to install Blas and Lapack
View 4 Replies View RelatedHow to run a program containing lapack subroutines using ifort compiler?
View 1 Replies View RelatedIn mandriva 2008 platform I have installed gcc-g77, liblapack, liblapack-devel, libblas, libblas-devel, arpack, arpack-devel and arpack-static packages. When I link *.f code and these libraries, using g77 compiler with -llapack -lblas -larpack options, everything work. Then when I replaced g77 by gfortran compiler, to be able to work with double precision complex arithmetic, I have got a number of undefined references errors:
[code].....
It looks as if I need to install f95 lapack and arpack libraries. Does anybody know if such rpm packages exist? I cannot find them in the net. If they exist, where is it possible to download them?
Use python as example, I have 64bit python 2.4.3 yet I can't found rpm for 32bit one so I try to build it.Use default make or make --enable-readline is ok, python make cannot use CFLAGS, can use OPT and LDFLAGS to add -m32, yetit seems can only search for 64bit lib, or else crush.[Moderator edit: Moved from CentOS-4 to CentOS-5 forum.]
View 9 Replies View RelatedI have CentOS 5 x64 installed. I would like to know if --ignoreos is enough to bypass a basic package who installs a file into /usr/bin, for example. Is there a way to create an RPM designed for CentOS4, without actually installing it and run the spec file on it?
View 6 Replies View RelatedI would like to install Centos with yum-upgrade, asterisk and some iepbx program and burn it into ISO images.
Unfortunately I don't know which files to be compile into rpm. Can somebody direct you on this?
I have an issue with a specific piece of hardware running an Asterisk PBX. Basically it freezes at some times. I've noticed its running an SMP kernel (Centos 5.4), and i'm hoping i can disable this/recompile kernetl without SMP support. How can i do this?
It's running a VIA C7 cpu.
Code:
[root@localhost asterisk-1.4.29]# cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 6
[Code]....
How can i disable SMP, and see if its maybe this tha'ts causing the problems?
I have tried appending nosmp or maxcpus=0 and noreplace-smp to the kernel line in /boot/grub/menu.lst,but it keeps loading the smp kernel....
Has anyone successfully compiled VLC 1.0.0-rcX (rc1, rc2 or rc3) from source on CentOS 5? I have a binary installation of VLC 0.9 but I would like VLC 1.0 as it has a new codec that I'd like to use. I've tried lots of ideas which I can post - I keep getting build errors due to wrong package versions - but I thought I'd ask to see if anybody has a HOWTO first.
View 5 Replies View RelatedI downloaded src of gcc 3.3.3 and tried to compile in RHEL 5 with the existing gcc 4.1.2.
Got following error
[root@localhost gcc-3.3.3-src]# pwd
/home/nikole/gccmy/gcc-3.3.3-src
[root@localhost gcc-3.3.3-src]# which gcc
[code]....
I'm trying to compile hping3 on CentOS 5.5 X64 and getting the following:
Code:
[root@forge hping3-20051105]# ./configure --no-tcl
build byteorder.c...
create byteorder.h...
===> Found Tclsh in: /usr/bin/tclsh8.4
==> WARNING: no Tcl header files found!
[Code]....
Has anyone compiled kernel 2.6.35.7 for centos 5.5 x86? I am compiling the kernel for the first time.
[Code]....
But failed to boot the system. find the error message in the image file attached.
I've successfully compiled and installed PHP to run with nginx. But I could not use some jpeg functions from GD library. I've checked for libjpeg-devel and gd-devel and found that they had been installed, libjpeg.so is located at /usr/lib This is my configure command:
./configure --with-config-file-path=/etc/php --with-config-file-scan-dir=/etc/php/conf.d --disable-pdo --with-openssl --with-pcre-regex --without-sqlite3 --with-zlib --enable-bcmath --with-bz2 --enable-calendar --with-curl --with-curlwrappers --enable-exif --with-gd --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-freetype-dir=/usr/lib --enable-gd-native-ttf --enable-gd-jis-conv --with-gettext --with-mhash --enable-intl --enable-mbstring --with-mcrypt --with-mysql --with-mysql-sock --enable-soap --enable-sockets --with-xsl --enable-zip
phpinfo() shows that gd is enabled with GIF and PNG supports but without JPEG.
how to compile a tar.gz file in centos5 OR how can i create rpm from tar.gz file
View 2 Replies View Relatedi'm unable to compile the v4linux.
[az@server v4l-dvb-abd3aac6644e]$ uname -a
Linux server.home 2.6.18-194.17.1.el5.centos.plus #1 SMP Thu Sep 30
19:27:35 EDT 2010 i686 athlon i386 GNU/Linux
rpm -qa |grep kernel*
[Code]....
I am trying to compile octave-3.2.4 with centos 5.5 and I get the following error
[code]...
I have looked and I can not find any solutions.
I'm trying to compile Rocketraid 2310 driver v2.2 on CentOS 5.3 x86_64 (kernel 2.6.18-128.el5). When I run make I get the following:
make KERNELDIR=/lib/modules/2.6.18-128.el5/build/ ARCH=x86_64
make[1]: Entering directory `/usr/src/kernels/2.6.18-128.el5-x86_64'
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/os_linux.o
CC [M] /root/rr231x_0x-linux-src-v2.2/product/rr2310pm/linux/.build/osm_linux.o
[code]....
how to install Courier IMAP server and they all say the same thing, but they keep giving me problems.URL... is a link to the page I'm working on.I created the user, edited sudoers manually since I can't effectivly use visudo in the terminal since I don't know how to save. I also made sure that I restarted after I edited it in order to make sure it took effect. I used su compileuser and just logging in as compileuser and opening a terminal. After I made the user and edited that file, I created the directory mentioned and ran the command to create .rpmmacros. After that I got to work on wgetting the files and installing them and what not. The first one compiled and installed and so did the last one. The command "rpmbuild -ta courier-imap4.6.0.tar bz2" would not go though properly. This one I need to run as a non-root user and I've tried using every way possible to be as distant from root as possible, but it still gives me this at the end.
View 3 Replies View Relatedhow to compile CTCS1.3.1 or CTCS2 on Centos 64bit? I did not know programming, I just want to know how can I compile step by step without problm.
tar xzvf CTCS-1.3.1.tar.gz
make all
and show error messages and I used realted command to check, but I did not know what's going on?
Code:
$ ./configure --with-md5-passwords --with-selinux --with-pam
[snip]
Host: i686-pc-linux-gnu
Compiler: gcc
[Code]..
I am new to CENTOS (5.2) and more importantly new to linux. Any time I try to gcc compile something, it always throws random errors. I yum installed development-tools which is what I have seen other threads suggest but that did not solve the issue. I still get the same errors. I cannot find a common error among the many things I have attempted to compile.
Here is my most recent file for an example made when trying to compile up-imapproxy :
gcc -g -O2 -I. -I./include -c -o src/icc.o src/icc.c
gcc -g -O2 -I. -I./include -c -o src/main.o src/main.c
src/main.c: In function "int main(int, char**)":
src/main.c:618: error: invalid conversion from *void* to *void* (*)(void*)
src/main.c:618: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
src/main.c:646: error: invalid conversion from int* to socklen_t*
src/main.c:646: error: initializing argument 3 of int accept(int, sockaddr*,socklen_t*)
src/main.c:675: error: invalid conversion from void* to void* (*)(void*)
src/main.c:675: error: initializing argument 3 of int pthread_create(pthread_t*, const pthread_attr_t*, void* (*)(void*), void*)
make: *** [src/main.o] Error 1
I am trying to install vmware server on CentOS: In vmware installation guide it says before intalling:
Before you begin, read the following notes and make adjustments to your host system: The realtime clock function must be compiled in your Linux kernel. The parallel port PCstyle hardware option (CONFIG_PARPORT_PC) must be built and loaded as a kernel module (that is, it must be set to m when the kernel is compiled).
I have CentOS-5.4 box with all updates.I want to use samba as PDC with ldapbackend. All works fine, except winbind daemon. My samba version is 3.4.5.
# winbindd -D -d 3
# wbinfo -i test
test:*:50001:513:test:/home/W3/test:/bin/false
I have installed bind with yum install bind bind-chroot.I am having query timeouts due to no ipv6 connectivity.Is there a way to re-compile and not loose the chroot structure?Or is there another way to disable ipv6 lookups?Example of issue resulting in ipv4 query timeout:
30-Dec-2010 17:52:03.226 client x.x.x.x#53593: view internal: query: paypal.com.cms.local IN A +
30-Dec-2010 17:52:03.227 client x.x.x.x#53594: view internal: query: paypal.com.cms.local IN AAAA +
30-Dec-2010 17:52:03.228 client x.x.x.x#53595: view internal: query: paypal.com IN A +
[code]....
checking what language compliance flags to pass to the C compiler...
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
configure: error: glib-compile-schemas not found. < ---
1. How to determine what package glib-compile-schemas belongs to ?
2. Where to get the package ?
I'm basically trying to install Anjuta 3.0 and getting this error when I run ./configure
I'm trying to compile mplayer from srpm with vdpau enabled.
By default its disabled ( at least in rpmforge's srpm). How can i do this ?
This is what i tried:
I'm having a hard time getting part of Asterisk (the open source PBX) called asterisk-addons to compile with mysql CDR support which I need to enable Realtime I believe. I've spent the whole day trying to fault find this one (including thinking I had ruined my box and creating a new CentOS build!) and am pretty worn outWhen I attempt to install asterisk-addons (I've tried 1.6.0.1, 1.6.0.1-patch and 1.6.1.0-rc3), I get the following line in a ./configure:
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_init in -lmysqlclient... no
Then when I do a make menuselect, MySQL is not selectable and XXX"d out:
[code]....
Is there an easy way to update Perl from repos or do I need to compile from source to get a newer version?
Longer version
I'm trying to set-up MailScanner which requires a newer version of Perl IO than CentOS 5 appears to have in it's standard repos. I've also tried updating Perl from the rpmforge repo - but that just results in a bunch of transaction conflicts being reported by Yum. Is there another way of updating Perl from repos?
I have tried to compile the fakeroot 1.15 on centos 5, but it always failed to load the shared library libfakeroot.so file. I tried compiling 32 as well as 64 bit version of library but always it failed to load the library and give the following error:
ERROR: ld.so: object 'libfakeroot.so' from LD_PRELOAD cannot be preloaded: ignored.
any workaround to get this working?