10-23-2013
It looks like I am going to be able to go forward with a version compiled on 12.2, so I will probably be able to avoid getting it working on 11.3.
With all the changes to libraries and header files, I have often thought that it would be useful to create some custom libraries and have a more static setup. Even in this case, my app compiles on 12.2, but not 12.3. As far as I can see, the gcc version is the same, so that doesn't make any sense, but it looks like there is something that has been moved in a header file and I get a "no declaration" error for something. I still build allot with gcc3 because it helps to avoid some of those issues.
Thanks again,
LMHmedchem
9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following portion of a script
Check()
{
echo "\n\nChecking that all constraints are Enabled"
echo "..."
sleep 2
CHECK_COUNT='sqlplus -s $1 <<-EOSQL4
set feed off pause off pages 0 head off;
set linesize 150 echo off;
select count(*) from user_constraints where... (4 Replies)
Discussion started by: Zelp
4 Replies
2. Shell Programming and Scripting
Hi
I have a pipe-delimited file where I eventually need to replace a string stored on the 3th field on a specific record.
This is how the file looks like:
A|Mike|Lvl 1|...
B|...
A|Maria|Lvl 1|...
C|...
B|...
A|Jimmy|Lvl 2|...
C|...
A|Carry|Lvl 0|...
C|...
B|...
A|John|Lvl 8|...... (2 Replies)
Discussion started by: Indalecio
2 Replies
3. AIX
Hello
I need to install this fileset on a server with Aix 5.1
bos.perf.diag_tool
bos.perf.libperfstat
I go to the link
http://www14.software.ibm.com/webapp/set2/sas/f/genunix3/aixfixes.html
and i find this fileset but the last version thatīs what i need the lastest one for both... (1 Reply)
Discussion started by: lo-lp-kl
1 Replies
4. UNIX for Dummies Questions & Answers
Hi All,
I have a server running SunOS 5.9, on this I need to install Oracle 10g; however the installer returns
ERROR: Unable to convert from "UTF-8" to "646" for NLS!
Did some digging around and found that I need the SUNWuiu8 package.
However I'm not sure where I can download the... (1 Reply)
Discussion started by: Zak
1 Replies
5. Solaris
I wanted to enable IP filtering on a Solaris10 U4 machine. For some reason I dont find /usr/sbin/pfild. This machine was running a minimal version of S10U4 and I got to know that for pfild I need to have SUNWipfr and SUNWipfu. I installed both those packages but no sign of pfild yet.
Anyone has... (0 Replies)
Discussion started by: Naanu
0 Replies
6. Red Hat
I have installed mysql-connector-odbc-5.1.5-0.i386.rpm and libtools on my Fedora12 system.
Updating with yum says that there is nothing to update.
Updating with rpm -Uvh mysql-connector-odbc-5.1.7-0.i386.rpm fails with the same missing dependencies as for the 64-bit version.
Should I force... (4 Replies)
Discussion started by: Bengbers
4 Replies
7. Programming
I have been testing some c-files in Fedora 6 and 15 and it looks as if the math.h is different in Linux compared to Windows (BCC 4 and VC5). Where are all trigonometrics like sin and cos? (10 Replies)
Discussion started by: Pelle-48
10 Replies
8. Shell Programming and Scripting
Hi,
I am getting this error while running the following code.
i=`awk '{print $2}' test1.txt`
j=`awk '{print $4}' test1.txt`
k=`awk '{print $6}' test1.txt`
if ; then
echo "Up."
else
echo "down"
fi
rm -f test.txt test1.txt
error is this:
line 12: '
Please suggest. (2 Replies)
Discussion started by: arijitsaha
2 Replies
9. Red Hat
I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following:
sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies
build(1) General Commands Manual build(1)
NAME
build - build SuSE Linux RPMs in a chroot environment
SYNOPSIS
build [--clean|--no-init] [--rpms path1:path2:...] [--arch arch1:arch2:...] [--root buildroot] [specfile|srcrpm]
build --help
build --verify
DESCRIPTION
build is a tool to build SuSE Linux RPMs in a safe and clean way. build will install a minimal SuSE Linux as build system into some direc-
tory and will chroot to this system to compile the package. This way you don't risk to corrupt your working system (due to a broken spec
file for example), even if the package does not use BuildRoot.
build searches the spec file for a BuildRequires: line; if such a line is found, all the specified rpms are installed. Otherwise a selec-
tion of default packages are used. Note that build doesn't automatically resolve missing dependencies, so the specified rpms have to be
sufficient for the build.
If a spec file is specified on the command line, build will use this file and all other files in the directory for building the package. If
a srcrpm is specified, build automatically unpacks it for the build. If neither is given, build will use all the specfiles in the current
directory.
OPTIONS
--clean
remove the build system and reinitialize it from scratch.
--no-init
skip the build system initialization and start with build immediately.
--list-state
list rpms that would be used to create a fresh build root. Does not create the build root or perform a build.
--rpms path1:path2:path3...
Where build can find the SuSE Linux RPMs needed to create the build system. This option overrides the BUILD_RPMS environment vari-
able.
--arch arch1:arch2:arch3...
What architectures to select from the RPMs. build automatically sets this to a sensible value for your host if you don't specify
this option.
--root buildroot
Specifies where the build system is set up. Overrides the BUILD_ROOT enviroment variable.
--useusedforbuild
Tell build not to do dependency expansion, but to extract the list of packages to install from "# usedforbuild" lines or, if none
are found, from all "BuildRequires" lines. This option is useful if you want to re-build a package from a srcrpm with exactly the
same packages used for the srcrpm build.
--norootforbuild
--help Print a short help text.
--verify
verify the files in an existing build system.
.spec FILE OPTIONS
The build command interprets some special control comments in the specfile:
# norootforbuild
# needsrootforbuild
build uses either user root or user abuild in the build system to do the build. For non-SUSE distros as well as since SUSE 10.2,
the default build user is abuild. For 10.2 and before, the default build user is root. These two flags in the spec file allow to
deviate from the defaults and force-set the build user to abuild and root (for # norootforbuild and # needsrootforbuild respec-
tively.
# needsbinariesforbuild
provide the binary rpms that have been used to set up the build root in /.build.binaries within the build root.
ENVIRONMENT
BUILD_ROOT
The directory where build should install the chrooted build system. "/var/tmp/build-root" is used by default.
BUILD_RPMS
Where build can find the SuSE Linux RPMs. build needs them to create the build system. "/media/dvd/suse" is the default value
which will do the trick if you have the SuSE Linux DVD mounted.
BUILD_RPM_BUILD_STAGE
The rpm build stage (-ba, -bb, ...). This is just passed through to rpm, check the rpm manpage for a complete list and descrip-
tions. "-ba" is the default. You can use this to add more options to RPM.
SEE ALSO
rpm(1),
Maximum RPM:
http://www.rpm.org/max-rpm/
cross distribution packaging:
http://en.opensuse.org/Build_Service/cross_distribution_package_how_to
SUSE packaging standards and guidelines:
http://en.opensuse.org/Packaging
(c) 1997-2008 SuSE Linux AG Nuernberg, Germany build(1)