memtester port

Jeremy Lavergne jeremy at lavergne.gotdns.org
Tue Jul 14 12:22:04 PDT 2009


On Jul 14, 2009, at 3:01 PM, Scott Haneda wrote:
> I am not seeing a port for memtester.
> # $Id$
> PortSystem 1.0
>
> name			memtester
> version			4.0.8
> categories		sysutils
> maintainers		hostwizard.com:scott
> description		A userspace utility for testing the memory subsystem  
> for faults.
> long_description	A userspace utility for testing the memory  
> subsystem for faults.
>
> homepage		http://pyropus.ca/software/memtester/
> master_sites		http://pyropus.ca/software/memtester/old-versions
> checksums           md5     a4971ed1ccaf5b2e2148fd66b0eb7363 \
>                    sha1    1330edaa60e0d797b83df51a56bba377db9223fc \
>                    rmd160  b804eb9563f98ffbd51ce17c091b71a466ba4eae
>
> ...
>
> --->  Configuring memtester
> DEBUG: Using compiler 'Mac OS X gcc 4.0'
> DEBUG: Executing org.macports.configure (memtester)
> DEBUG: Environment: CFLAGS='-O2' CPPFLAGS='-I/opt/local/include'  
> CXXFLAGS='-O2' MACOSX_DEPLOYMENT_TARGET='10.5' CPP='/usr/bin/ 
> cpp-4.0' CXX='/usr/bin/g++-4.0' F90FLAGS='-O2' LDFLAGS='-L/opt/local/ 
> lib' FCFLAGS='-O2' OBJC='/usr/bin/gcc-4.0' INSTALL='/usr/bin/install  
> -c' OBJCFLAGS='-O2' FFLAGS='-O2' CC='/usr/bin/gcc-4.0'
> DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/ 
> _Users_me_macports_sysutils_memtester/work/memtester-4.0.8" && ./ 
> configure --prefix=/opt/local'
> sh: ./configure: No such file or directory
> Error: Target org.macports.configure returned: configure failure:  
> shell command " cd "/opt/local/var/macports/build/ 
> _Users_me_macports_sysutils_memtester/work/memtester-4.0.8" && ./ 
> configure --prefix=/opt/local " returned error 127
> Command output: sh: ./configure: No such file or directory
>
> Warning: the following items did not execute (for memtester):  
> org.macports.activate org.macports.configure org.macports.build  
> org.macports.destroot org.macports.install
> Error: Status 1 encountered during processing.
>
> Where am I getting tripped up on this one?

You need to add `use_configure no`

> Do I need destroot to also install the binary and the man pages, or  
> does that happen as part of make install?  Could this be that make  
> is not able to understand the prefix?

You might consider patching the Makefile's install portion, or you'll  
find yourself using xinstall lines to do the installation 'manually'  
in the portfile.

>
> I could then add
> configure.pre_args-delete --prefix=${prefix}
> and just hand install this man and binary in correct locations?
>
> Here is the by hand method:
> $sudo make --prefix=/opt/local
> make: unrecognized option `--prefix=/opt/local'
> Usage: make [options] [target] ...
> Options:
>  -b, -m                      Ignored for compatibility.
>  -B, --always-make           Unconditionally make all targets.
>  -C DIRECTORY, --directory=DIRECTORY
>                              Change to DIRECTORY before doing  
> anything.
>  -d                          Print lots of debugging information.
>  --debug[=FLAGS]             Print various types of debugging  
> information.
>  -e, --environment-overrides
>                              Environment variables override makefiles.
>  -f FILE, --file=FILE, --makefile=FILE
>                              Read FILE as a makefile.
>  -h, --help                  Print this message and exit.
>  -i, --ignore-errors         Ignore errors from commands.
>  -I DIRECTORY, --include-dir=DIRECTORY
>                              Search DIRECTORY for included makefiles.
>  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs  
> with no arg.
>  -k, --keep-going            Keep going when some targets can't be  
> made.
>  -l [N], --load-average[=N], --max-load[=N]
>                              Don't start multiple jobs unless load  
> is below N.
>  -L, --check-symlink-times   Use the latest mtime between symlinks  
> and target.
>  -n, --just-print, --dry-run, --recon
>                              Don't actually run any commands; just  
> print them.
>  -o FILE, --old-file=FILE, --assume-old=FILE
>                              Consider FILE to be very old and don't  
> remake it.
>  -p, --print-data-base       Print make's internal database.
>  -q, --question              Run no commands; exit status says if up  
> to date.
>  -r, --no-builtin-rules      Disable the built-in implicit rules.
>  -R, --no-builtin-variables  Disable the built-in variable settings.
>  -s, --silent, --quiet       Don't echo commands.
>  -S, --no-keep-going, --stop
>                              Turns off -k.
>  -t, --touch                 Touch targets instead of remaking them.
>  -v, --version               Print the version number of make and  
> exit.
>  -w, --print-directory       Print the current directory.
>  --no-print-directory        Turn off -w, even if it was turned on  
> implicitly.
>  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
>                              Consider FILE to be infinitely new.
>  --warn-undefined-variables  Warn when an undefined variable is  
> referenced.
>  -N OPTION, --NeXT-option=OPTION
>                              Turn on value of NeXT OPTION.
>
> This program built for powerpc-apple-darwin9.0
> Report bugs to <bug-make at gnu.org>
>
>
> -- 
> Scott * If you contact me off list replace talklists@ with scott@ *
>
> _______________________________________________
> macports-dev mailing list
> macports-dev at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2435 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090714/bec86573/attachment.bin>


More information about the macports-dev mailing list