Debian install maintainer environment variable problem


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Debian install maintainer environment variable problem
# 1  
Old 07-20-2010
Debian install maintainer environment variable problem

Hi,

I am using Ubuntu 8.04 (Hardy heron) and I am trying to package my application using 'dpkg'. I am following 'rules' based debian packaging. I am using install script to copy certain shared object libraries into my package installation path.

for eg: ../../../Qt-4.6.2/Release/bin/libSettings.so.1* usr/local/myapp/

Now, I am facing a problem, every time if I install the new version of the supported package (Qt here), I have to manually edit this *.install file for the path (since version is included in the path). I have tried setting an environment variable and tried to read it inside the script but in no vain.

Can anyone help me how to solve this issue? if environment variable is not the right approach, how I can proceed with this?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Debian

Debian install - kernel panic

Hello all, I would like to install Debian Jessie on my i386 When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output: I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies

2. UNIX for Dummies Questions & Answers

Setting environment variable problem in Ubuntu?

I am trying to install timbl- memory based learner tools in ubuntu. it after unpacking the tar file it brings the following msg No package 'ticcutils' found Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix. Alternatively, you... (1 Reply)
Discussion started by: gbdaw
1 Replies

3. UNIX for Dummies Questions & Answers

Install Cacti on Debian for dummies

Hi all, I want to install cacti (frontend to RRDTool) on my Debian 6 VPS. My dummy questions please... The requirements include RRDTool and net-snmp so is there a way to check these are properly installed? Re the command # apt-get install cacti After logging in to my VPS in putty... (1 Reply)
Discussion started by: Juc1
1 Replies

4. Shell Programming and Scripting

problem with setting environment variable

shell script: #!/bin/csh set VAR=12345 echo $VAR will peacefully give the output 12345 at shell. I need to use C++ to do the same in some part of the code: string str = "12345"; retValue="set var1= "+str; system(retValue1.c_str()); system("echo $var1"); This doesn't create a system... (1 Reply)
Discussion started by: harshvardhan360
1 Replies

5. HP-UX

Install Patch on ServiceGuard environment

I have two hpux11iv1 on ServiceGuard. I need to backup my hpux 11iv1 by EMC backup software. but before i install client agent, i need to install two software patch: 1. J4256AA HP-UX IPSec 2. IPv6NCF11i HP-UX 11iv1 IPv6 I wantna know if i installed two software patch have any impact? or... (5 Replies)
Discussion started by: cooljack123
5 Replies

6. Shell Programming and Scripting

Expand an environment variable in sed, when the variable contains a slash

I'm trying to make a sed substitution where the substitution pattern is an environment variable to be expanded, but the variable contains a "slash". sed -e 's/<HOME_DIRECTORY>/'$HOME'/'This gives me the following error: sed: -e expression #1, char 21: unknown option to `s'Obviously this is... (2 Replies)
Discussion started by: Ilja
2 Replies

7. Linux

install pptpd on debian 5

When I try to configure vpn(client,server), i not find pptpd.conf in debian lenny 5.0. After in command-line: if translate: Don't find package pptpd How can added pptpd? (0 Replies)
Discussion started by: sotich82
0 Replies

8. Shell Programming and Scripting

problem in getting the path of environment variable set in bashrc in my shell script

hi all i have joined new to the group. i have set an variable in my bashrc file. .bashrc PROGHOME=/home/braf/braf/prog export PROGHOME but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path. in my script... (8 Replies)
Discussion started by: krithika
8 Replies

9. Debian

How to install Debian on a SUNBLADE 100?

I have tried to install the Debian distribution for SPARC processor, but is a pian in the neck trying to boot from cdrom or floppy. Please can somebody to help me to know the easiest way to boot and install Debian on a SUNBLADE 100 system? or wich is the best way to installed on this system, I... (2 Replies)
Discussion started by: GEIER
2 Replies

10. UNIX for Advanced & Expert Users

HISTSIZE environment variable problem

Hi All, I am connecting to a sun solaris 5.9 unix (korn shell) server using the x terminal. There is some problem with the HISTORY File where the HISTSIZE env variable is not working. Although the HISTSIZE is set to 20 already but the HISTORY file keep increasing and exceeded the size. There... (5 Replies)
Discussion started by: Kenneth2006
5 Replies
Login or Register to Ask a Question
ubuntu-dev-tools(5)						File Formats Manual					       ubuntu-dev-tools(5)

NAME
ubuntu-dev-tools - Configuration for the ubuntu-dev-tools package. DESCRIPTION
The ubuntu-dev-tools package is similar in scope to the devscripts(1) package, providing a collection of scripts which may be of use to Ubuntu and Debian developers or others wishing to build Debian packages. Some of these scripts have options which may be configured on a system-wide and per-user basis. These options are configured in devscripts.conf(5). All variables are described in the script's manpages. Package-wide variables begin with "UBUNTUTOOLS" and are listed below. Every script which reads the configuration files can be forced to ignore them by using the --no-conf command-line option. ENVIRONMENT
All ubuntu-dev-tools configuration variables can be set (and overridden) by setting them in the environment (unlike devscripts). In addition, several scripts use the following environment variables: UBUMAIL Overrides DEBEMAIL and DEBFULLNAME when the target is clearly Ubuntu. Can either contain an e-mail address or Full Name <email@example.org>. DEBEMAIL, DEBFULLNAME As in devscripts(1). PACKAGE-WIDE VARIABLES The currently recognised package-wide variables are: UBUNTUTOOLS_BUILDER This specifies the preferred test-builder, one of pbuilder (default), sbuild, pbuilder-dist. UBUNTUTOOLS_DEBIAN_MIRROR The preferred Debian archive mirror. Should be of the form http://ftp.debian.org/debian (no trailing slash). If not specified, the master will be used. UBUNTUTOOLS_DEBSEC_MIRROR The preferred Debian security archive mirror. Should be of the form http://security.debian.org (no trailing slash). If not speci- fied, the master will be used. UBUNTUTOOLS_UBUNTU_MIRROR The preferred Ubuntu archive mirror. Should be of the form http://archive.ubuntu.com/ubuntu (no trailing slash). If not specified, the master will be used. UBUNTUTOOLS_UBUNTU_PORTS_MIRROR The preferred Ubuntu archive mirror. Should be of the form http://ports.ubuntu.com (no trailing slash). If not specified, the mas- ter will be used. UBUNTUTOOLS_LPINSTANCE The launchpad instance to communicate with. e.g. production (default) or staging. UBUNTUTOOLS_MIRROR_FALLBACK Whether or not to fall-back to the master archive mirror. This is usually the desired behaviour, as mirrors can lag the masters. If on a private network with only a local mirror, you may want to set this to no. One of yes (default) or no. UBUNTUTOOLS_UPDATE_BUILDER Whether or not to update the test-builder before each test build. One of yes or no (default). UBUNTUTOOLS_WORKDIR The directory to use for preparing source packages etc. When unset, defaults to a directory in /tmp/ named after the script. SEE ALSO
devscripts(1), devscripts.conf(5) AUTHORS
This manpage was written by Stefano Rivera <stefanor@ubuntu.com>. ubuntu-dev-tools December 19 2010 ubuntu-dev-tools(5)