01-11-2004
TMPDIR wasn't set
Just a note, TMPDIR was commented out in the Makefile I downloaded and was getting errors:
$ make
Checking distribution of files
./pgms exists
./src exists
./testdir exists
./doc exists
sh: test: argument expected
*** Error code 1
make: Fatal error: Command failed for target `distr'
Had to set TMPDIR in the Makefile
Cheers,
Keith
7 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
HI
I'm using red hat 7.0 and i've tried to find my network card, because it wasn't recognised at install time.
I issued this commands "modprobe ne" and "modprobe 3c59x"
and i got the message
/lib/modules/2.2.16-22/net/ne.0: insmod failed.
At this point i suppose to get this... (2 Replies)
Discussion started by: IMOTEB
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
We're stuck after the Unix admin left without prior notice.
We have a web application running on mySQL.
it seems that the \tmpdir for mySQL is mount to
var\tmp directory which has only 60 MB of available disk space
running any big query fails due to the size limitation
I don't have... (13 Replies)
Discussion started by: ray
13 Replies
3. UNIX for Dummies Questions & Answers
hi, I am new in Expect
I wanna write something into a file, but it didn't recognize \n in my string.
for example, a simple script like this:
#!/usr/local/bin/expect --
set logfile
puts $logfile "===========================\n hello,allen\n===========================\n"
it shown... (1 Reply)
Discussion started by: allenxiao7
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I need to write a program which sets server's ip address, router, network mask. Program also should set if it is an internal or external ip. Maybe someone can help me ? Any information from u is very useful :b:
I stopped at .. :(
#!/bin/sh
A=`hostname -i`
echo "server ip address is $A"... (4 Replies)
Discussion started by: zagaruika
4 Replies
5. Shell Programming and Scripting
SSHing into a machine can take a few seconds, but after I'm in, the commands return quickly. I was wondering if the timeout setting can be changed once I'm logged into the machine. Does anyone know if this can be set on the fly? The problem here is, if I have to set timeout = 10, it'll take 10... (1 Reply)
Discussion started by: mrwatkin
1 Replies
6. Solaris
Hi,
I have a Solaris (SunOS 5.10) installed, by default with the en_AU.UTF-8 locale. I want to change it to en_US.UTF-8
With AU, I have no issues whatsoever, so I installed the language package and now locale -a shows "en_US.UTF-8".
Problem is even with LC_ALL set in etc/default/init, the... (2 Replies)
Discussion started by: asdfg
2 Replies
7. Shell Programming and Scripting
Hi,
I am looking for a shell script which serves the below purpose.
Please find below the algorithm for the same and any help on this would be highly appreciated.
1)set of strings need to be replaced among set of files(directory may contain different types of files)
2)It should search for... (10 Replies)
Discussion started by: Amulya
10 Replies
LEARN ABOUT OPENSOLARIS
lorder
lorder(1) User Commands lorder(1)
NAME
lorder - find ordering relation for an object or library archive
SYNOPSIS
lorder filename...
DESCRIPTION
The input is one or more object or library archive filenames (see ar(1)). The standard output is a list of pairs of object file or archive
member names; the first file of the pair refers to external identifiers defined in the second. The output may be processed by tsort(1) to
find an ordering of a library suitable for one-pass access by ld. Note that the link editor ld is capable of multiple passes over an ar-
chive in the portable archive format (see ar.h(3HEAD)) and does not require that lorder be used when building an archive. The usage of
the lorder command may, however, allow for a more efficient access of the archive during the link edit process.
The following example builds a new library from existing .o files.
ar -cr library `lorder *.o | tsort`
FILES
TMPDIR/*symref temporary files
TMPDIR/*symdef temporary files
TMPDIR usually /var/tmp but can be redefined by setting the environment variable TMPDIR (see tempnam() in tmpnam(3C))
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWbtool |
+-----------------------------+-----------------------------+
SEE ALSO
ar(1), ld(1), tsort(1), tmpnam(3C), ar.h(3HEAD), attributes(5)
NOTES
lorder will accept as input any object or archive file, regardless of its suffix, provided there is more than one input file. If there is
but a single input file, its suffix must be .o.
The length of the filename for TMPDIR is limited to whatever sed allows.
SunOS 5.11 29 Oct 1991 lorder(1)