On Jul 14, 2009, at 3:01 PM, Scott Haneda wrote:
I am not seeing a port for memtester. # $Id$ PortSystem 1.0name memtester version 4.0.8 categories sysutils maintainers hostwizard.com:scottdescription 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 directoryError: 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 127Command output: sh: ./configure: No such file or directoryWarning: the following items did not execute (for memtester): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.installError: 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=DIRECTORYChange 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, --reconDon't actually run any commands; just print them.-o FILE, --old-file=FILE, --assume-old=FILEConsider 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 <[email protected]> -- Scott * If you contact me off list replace talklists@ with scott@ * _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
