Hi,

I had a problem when I build Open64 statically in one machine and then move the 
 
installdir to another 
user space (/home/me to /home/another_user). This is how I am building on my 
buii
ld machine:

../trunk/configure --prefix=/home/me/normalbuild/installdir --disable-shared 
--ee
nable-static
make 
make install

Now, I move the installdir to /home/another_user, and test it with a program, 
thh
en I get an error like:
cc1: error: /home/me/normalbuild/installdir/open64-gcc-4.2.0/include: 
Permissionn
 denied
cc1: error: 
/home/me/normalbuild/installdir/open64-gcc-4.2.0/lib/gcc/x86_64-redhh
at-
linux/4.2.0/include: Permission denied
cc1: error: 
/home/me/normalbuild/installdir/open64-gcc-4.2.0/x86_64-redhat-linuxx
/include: 
Permission denied

Upon using the -v option, I see additionally:

ignoring nonexistent directory "/home/another_user/installdir/open64-gcc-
4.2.0/bin/../lib/gcc/x86_64-redhat-linux/4.2.0/../../../../x86_64-redhat-linux/ii
nclude"

#include "..." search starts here:
#include <...> search starts here:
 /home/another_user/openuh-install/include/4.2
 /home/another_user/openuh-install/include
 
/home/another_user/openuh-install/open64-gcc-4.2.0/bin/../lib/gcc/x86_64-redhatt
-
linux/4.2.0/include

 /usr/local/include
 /usr/include

I have a feeling that it might be related to the iprefix or --include-prefix 
nott
 getting set properly, and
hence it's trying to search the original path (that I had on my build machine)? 
 
How do I set the include
path so that it's able to find the path?


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Open64-devel mailing list
Open64-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/open64-devel

Reply via email to