I was able to make it work by doing a 'sudo -E make install' As far as I can tell, when you do a sudo, some of the environment variables are reset. The -E keeps the calling environment.
John On Jan 27, 3:40 pm, Natalie Tasman <[email protected]> wrote: > If you please post your PATH for both yourself and the superuser, and the > content of Makefile.config.incl, we may be able to see something. I > routinely use Makefile.config.incl to modify install locations (note, you do > need to "make clean all" after setting the desired locations in > Makefile.config.incl, as this information becomes hardcoded into many > components during the build stage.) > > -Natalie > > On Tue, Jan 27, 2009 at 1:58 PM, marmot <[email protected]> wrote: > > > I was playing around with the make install and after looking at the > > Makefile (which I really don't understand), I decided to try a 'make > > install-linux-all' AND it appeared to read the Makefile.config.incl > > correctly! However, the default location that I wanted was not > > "owned" by me which generated a permission error, so then I did a > > 'sudo make install-linux-all' and then it DID NOT read my > > Makefile.config.incl. So I changed the ownership of the location I > > wanted to install TPP and worked (doing a 'make install-linux-all' > > without the sudo). Hmmm... I don't know if it completely works yet, > > but I have been able to use the web interface once I have activated > > apache. > > > John > > > On Jan 27, 2:37 pm, "Brian Pratt" <[email protected]> wrote: > > > That's pretty strange - I wouldn't think the build would succeed with the > > > OBJ_ARCH directory set to /../build/linux . > > > > What does you Makefile.config.incl look like? > > > > Brian > > > > -----Original Message----- > > > From: [email protected] > > > > [mailto:[email protected]] On Behalf Of marmot > > > Sent: Tuesday, January 27, 2009 1:17 PM > > > To: spctools-discuss > > > Subject: [spctools-discuss] Problems Installing TPP4.1.1 on Linux > > > > Hi Everyone, > > > > I think I have been able to successfully compile TPP4.1.1 under Ubuntu > > > 8.04. However when I do a "make install", I get the following error: > > > > # Copy all source executables and configuration files to their > > > location > > > cp -f /../build/linux/ASAPRatioPeptideParser /usr/local/tpp/bin/ > > > cp: cannot stat `/../build/linux/ASAPRatioPeptideParser': No such file > > > or directory > > > make: *** [install-linux-xml] Error 1 > > > > For some reason make is getting the wrong file location (the / at the > > > beginning should be removed). Also it looks like the install is > > > ignoring my Makefile.config.incl and wanting to place the files in the > > > default /usr/local/tpp instead of were I want it (/home/tpp). Any > > > help would be appreciated. > > > > Dr. John Chik --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "spctools-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/spctools-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
