Sponsored Content
Full Discussion: TMPDIR wasn't set
UNIX Standards and Benchmarks UNIX & LINUX Benchmarks (Version 3.11) UNIX Benchmarks TMPDIR wasn't set Post 46231 by kduffin on Sunday 11th of January 2004 07:49:23 PM
Old 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

My network card wasn't recognised

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

how to change \tmpdir directory or increase size?

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

"\n" wasn't recognized in exp script

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

How to set server's ip address, router, network mask and set if it is an internal or external ip?

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

set Net:SSH:Expect timeout and set it again.

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

LC_ALL & LANG are set OK, but others couldn't set locale correctly.

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

Help needed with shell script to search and replace a set of strings among the set of files

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
wml::mod::MakeMaker(3)						     EN Tools						    wml::mod::MakeMaker(3)

NAME
wml::mod::MakeMaker - A Makefile generator SYNOPSIS
#!wml -o Makefile #use wml::mod::MakeMaker <write-makefile [attributes]> DESCRIPTION
This include file provides an easy way to write a Makefile to distribute your own WML modules. It is inspired by the "ExtUtils::MakeMaker" Perl module. Default targets make all This is the default target. It will build all include files and their documentation. make install Install include files and documentation in the locations given by ``wml -V2''. make clean Remove files generated by make. make distclean Like make clean, plus remove the Makefile too. make dist Build a distribution. Should only be used by the module maintainer. If there is a MANIFEST file, then the list of files to include is taken from this file. Otherwise the tarball contains all source files, plus MakeMaker.wml, Makefile.wml, shtool and README if these files exist. Overriding default targets To build the Makefile, all targets are put in separate buffers during pass 3, and those buffers are diverted by pass 5. You can override this defaukt target by redefining buffer contents. Buffer names are explicit: MK_ALL MK_INSTALL MK_CLEAN MK_DISTCLEAN MK_CONFIG MK_RELEASE Defining new targets The MK_USER is empty and devoted to this task. ATTRIBUTES
The first three attributes are mandatory. package The name of the package version Its version number modules List of modules to build and install. This is a space separated list of filenames. Modules should reside in a sub-directory to be compliant with actual file hierarchy. For instance, the declaration modules="math/log.tmpl math/exp.tmpl" tells that after compilation, there are two modules which are "math/log.tmpl" and "math/exp.tmpl". This modules will be installed to "LibDir/include/math/log.tmpl" and "LibDir/include/math/exp.tmpl". These modules will then be called in a WML file by #use tmpl::math::log #use tmpl::math::exp Source files for these modules are obtained by replacing the suffix by .src. src-ext Defines an alternate suffix for the source files. man-ext Section number of the manual in which man files are put. Default is 3. extradistfiles Space separated list of files to include in a distribution. By default, all source files plus MakeMaker.wml, Makefile.wml, README and shtool are included in a distribution. EXAMPLE
<write-makefile package="log" version="3.14" modules="math/log.tmpl" source-ext="exp" > This will build the tmpl::math::log include module from the math/log.exp source file. This source file will also produce the tmpl::math::log(3) manpage. NOTES
Please do _not_ use a ".wml" suffix for your modules, they should be reserved for official WML modules shipped with WML. You may instead put your initials or anything else. AUTHOR
Denis Barbier barbier@engelschall.com REQUIRES
Internal: P1, P2, P3, P5 External: -- EN Tools 2014-04-16 wml::mod::MakeMaker(3)
All times are GMT -4. The time now is 03:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy