I 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?
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.]
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.
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'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:
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
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.
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 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 +
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 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.
I've installed ethernet adapter, it is made in china from a manufacturer called FOX. The driver for that adapter is supported for sco linux kernel version 2.4.x and 2.5.x .However, I'm using Centos5 but the OS didn't recognize the adapter alone, so I'm trying to follo instructions on the driver on the attached CD.
The CD contains file named "SC92031.c", the instructions tell me to do the following "Compile the driver source files and it will generate sc92031.o"
I wanted to try installing the Metisse window manager, and it depends on Nucleo. I got Nucleo from the AUR, but it fails to compile:
Code: PNGenc.cxx: In function �void nucleo::png_memory_write_data(png_struct*, png_byte*, png_size_t)�: PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125) PNGenc.cxx:38: warning: �png_struct_def::io_ptr� is deprecated (declared at /usr/include/libpng14/png.h:1125) PNGenc.cxx: In function �void nucleo::png_memory_read_data(png_struct*, png_byte*, [Code].....
I want to learn how to compile vim from the sources, because there are some additions that I want to add, and learn how to deal with this situations, but until now I didn't have success doing it, I can compile vim, but without its GUI I think it's a dependencies problem, but I can't figure out which packages I have to install, what are the dependencies to compile vim with its gui? how to compile gvim, but I don't have the packages for install in my ubuntu 10.10 repositories.