[pcre-dev] Installation Errror

Top Page
Delete this message
Author: James Clark
Date:  
To: pcre-dev
Subject: [pcre-dev] Installation Errror
Hello,

I was wondering if you could help me as I am having difficulties installing
PCRE on RHEL 5.5. After I run configure and make, I get this error during
installation:

[root@lx-nshah1 pcre-8.12]# make install
make[1]: Entering directory `/h/jclark/Desktop/pcre-8.12'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
/bin/sh ./libtool --mode=install /usr/bin/install -c libpcre.la
libpcreposix.la libpcrecpp.la '/usr/local/lib'
libtool: install: /usr/bin/install -c .libs/libpcre.so.0.0.1
/usr/local/lib/libpcre.so.0.0.1
libtool: install: (cd /usr/local/lib && { ln -s -f libpcre.so.0.0.1
libpcre.so.0 || { rm -f libpcre.so.0 && ln -s libpcre.so.0.0.1 libpcre.so.0;
}; })
libtool: install: (cd /usr/local/lib && { ln -s -f libpcre.so.0.0.1
libpcre.so || { rm -f libpcre.so && ln -s libpcre.so.0.0.1 libpcre.so; }; })
libtool: install: /usr/bin/install -c .libs/libpcre.lai /usr/local/lib/
libpcre.la
libtool: install: warning: relinking `libpcreposix.la'
libtool: install: (cd /h/jclark/Desktop/pcre-8.12; /bin/sh
/h/jclark/Desktop/pcre-8.12/libtool --tag CC --mode=relink gcc -O2
-version-info 0:0:0 -o libpcreposix.la -rpath /usr/local/lib pcreposix.lo
libpcre.la )
mv: cannot move `libpcreposix.so.0.0.0' to `libpcreposix.so.0.0.0U':
Permission denied
libtool: install: error: relink `libpcreposix.la' with the above command
before installing it
make[1]: *** [install-libLTLIBRARIES] Error 1
make[1]: Leaving directory `/h/jclark/Desktop/pcre-8.12'
make: *** [install-am] Error 2

Is there any fix for this error that you know of?

Thank you,

James Clark