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
WRAP-AND-SORT(1)					      General Commands Manual						  WRAP-AND-SORT(1)

NAME
wrap-and-sort - wrap long lines and sort items in Debian packaging files SYNOPSIS
wrap-and-sort [options] DESCRIPTION
wrap-and-sort wraps the package lists in Debian control files. By default the lists will only split into multiple lines if the entries are longer than 80 characters. wrap-and-sort sorts the package lists in Debian control files and all .install files. Beside that wrap-and-sort removes trailing spaces in these files. This script should be run in the root of a Debian package tree. It searches for control, control.in, copyright, copyright.in, install, and *.install in the debian directory. OPTIONS
-h, --help Show this help message and exit. -a, --wrap-always Wrap all package lists in the Debian control file even if the entries are shorter than 80 characters and could fit in one line line. -s, --short-indent Only indent wrapped lines by one space (default is in-line with the field name). -b, --sort-binary-packages Sort binary package paragraphs by name. -k, --keep-first When sorting binary package paragraphs, leave the first one at the top. Unqualified debhelper(7) configuration files are applied to the first package. -n, --no-cleanup Do not remove trailing whitespaces. -d path, --debian-directory=path Location of the debian directory (default: ./debian). -f file, --file=file Wrap and sort only the specified file. You can specify this parameter multiple times. All supported files will be processed if no files are specified. -v, --verbose Print all files that are touched. AUTHORS
wrap-and-sort and this manpage have been written by Benjamin Drung <bdrung@debian.org>. Both are released under the ISC license. DEBIAN
Debian Utilities WRAP-AND-SORT(1)