LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-09-2008, 03:14 PM   #1
gregfi
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Rep: Reputation: 0
dependency build question


I'd like to compile GIT on our company's SLES10 machine. Unfortunately, the system is missing a few dependencies and it has been locked down such that no more packages can be installed on a system-wide basis. The missing packages, so far as I can tell, are:

curl-devel

openssl-devel

Is there some way to easily compile these packages in my home directory by making use of the SRPMs? The problem that I'm running into is that curl depends on openssl. I can compile the openssl SRPM, but I have no means to install it, so that doesn't help me around the dependency problem. Any ideas?

Thanks,
Greg
 
Old 11-09-2008, 04:18 PM   #2
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Talk to your sysadmin and ask him to install the needed packages. No longer than it would take him, he should have no objections.
 
Old 11-09-2008, 05:57 PM   #3
gregfi
LQ Newbie
 
Registered: Nov 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lazlow View Post
Talk to your sysadmin and ask him to install the needed packages. No longer than it would take him, he should have no objections.
This is much more easily said than done. I work in the Nuclear industry, and we live with some fairly stringent QA procedures. Once the computing platform is certified and approved for production calculations, it's effectively set in stone.

As much as the Admins would love to help, they've been given orders not to mess with anything unless it's absolutely necessary.
 
Old 11-09-2008, 06:13 PM   #4
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Usually the NRC (assuming US) certifies the machine and distro (including above packages), but if your internal QA has an issue, then you are pretty much stuck.
 
Old 11-09-2008, 06:26 PM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
There are a number of ways around this however.

A couple of them would be:
  1. Compile everything in your home, then compile curl statically, so you don't need external libs to run it.
  2. Compile everything in your home, then install everything in a fake home directory that all the users can read, use then a wrapper script that sets LD_LIBRARY_PATH+=/home/sharedhomedir/usr/lib and launches curl
  3. Compile everything in your home, then distribute all the needed stuff in a tarball and let the rest of users deal with it.

Probably 1 is easier if it can be done.

Edit: for 1 try this: http://myt.ag/URLWeb.aspx?email=stev...f0115.html&sn=

Last edited by i92guboj; 11-09-2008 at 06:29 PM.
 
Old 11-09-2008, 06:30 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
Will any of the methods get past his QA requirements?
 
Old 11-09-2008, 06:36 PM   #7
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
I don't know what his QA requirements are, so I can't tell for sure. But as long as the home directories are not mounted "noexec", it should run. Another entirely different question is whether the admis will be happy about the users being that smart or not.

In 1 and 3, the binaries will live in your home, so no modification to the system is needed if that's what you ask. It all comes down to one fact: do they allow you to run binaries from your home? If you can run your own bash scripts on your home then you should have no problems running any other kind of executable file.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dependency Question megadeth Slackware 10 04-13-2005 04:25 PM
dependency question jax8 Linux - Newbie 2 03-31-2004 08:39 AM
RPM Dependency Question cmpaul Linux - Software 4 08-13-2003 06:16 PM
Dependency question... madiyaan Linux - Newbie 4 06-03-2003 02:27 PM
Dependency Question ? g0dzuki99 Linux - General 5 12-13-2002 08:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration