October 08, 2007 [Issue 278] dmd.conf search path doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=278 david@acz.org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |david@acz.org Version|0.163 |1.022 ------- Comment #10 from david@acz.org 2007-10-08 09:58 ------- 1.022 can't find dmd.conf in the bin directory if it's called using PATH, whereas it 1.021 and 1.015 could find it. ==== [ 1.021 ] ==== export PATH="...:/home/dphillips/opt/dmd-1.021/bin" strace -o out dmd -ofdpc dpc.d execve("/home/dphillips/opt/dmd-1.021/bin/dmd", ["dmd", "-ofdpc", "dpc.d"], [/* 66 vars */]) = 0 ... stat64("dmd.conf", 0xbfc2ebec) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/dmd.conf", 0xbfc2ebec) = -1 ENOENT (No such file or directory) stat64("dmd.conf", 0xbfc2ebec) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/local/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/X11R6/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/games/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/opt/gnome/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/lib/mit/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/usr/lib/mit/sbin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/opt/git/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/opt/git/bin/dmd", 0xbfc2ebbc) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/opt/dmd-1.021/bin/dmd", {st_mode=S_IFREG|0764, st_size=1030436, ...}) = 0 stat64("/home/dphillips/opt/dmd-1.021/bin/dmd.conf", {st_mode=S_IFREG|0664, st_size=64, ...}) = 0 open("/home/dphillips/opt/dmd-1.021/bin/dmd.conf", O_RDONLY) = 3 ==== [ 1.022 ] ==== export PATH="...:/home/dphillips/opt/dmd-1.022/bin" strace -o out dmd -ofdpc dpc.d execve("/home/dphillips/opt/dmd-1.022/bin/dmd", ["dmd", "-ofdpc", "dpc.d"], [/* 66 vars */]) = 0 ... stat64("dmd.conf", 0xbff37eec) = -1 ENOENT (No such file or directory) stat64("/home/dphillips/dmd.conf", 0xbff37eec) = -1 ENOENT (No such file or directory) stat64("dmd.conf", 0xbff37eec) = -1 ENOENT (No such file or directory) getcwd("/home/dphillips/dpc", 4096) = 20 lstat64("/home/dphillips/dpc/dmd", 0xbff37f6c) = -1 ENOENT (No such file or directory) open("/etc/dmd.conf", O_RDONLY) = -1 ENOENT (No such file or directory) unlink("dpc.o") = 0 -- |
October 13, 2007 [Issue 278] dmd.conf search path doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=278 braddr@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution| |FIXED ------- Comment #11 from braddr@puremagic.com 2007-10-13 13:49 ------- This bug was introduced and then fixed within a few hours of the release. The 1.022 and 2.005 zip files were updated to contain the fix without a new release and without an announcement. Marking this bug fixed. Please re-download if you were unlucky enough to get the buggy version. The corrected 2.005 shows version 2.005.1 in the output of just 'dmd'. The 1.022 version doesn't identify itself differently (whoops, bad Walter). The 1.002 version can be identified by, well, it working correctly, and: filesize md5sum dmd 1015780 4ffc48d69a3687339720adc4ef9f5c03 dmd.exe 1068060 2ce1fb3f5f9e65aa457622136efb9d2c -- |
October 13, 2007 [Issue 278] dmd.conf search path doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=278 Daniel919@web.de changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Comment #12 from Daniel919@web.de 2007-10-13 15:11 ------- -[ /root/dmd/bin/dmd.conf ]------------------------ [Environment] DFLAGS=-I%@P%/../src/phobos -L-L%@P%/../lib --------------------------------------------------- #echo $PATH /root/dmd/bin:/root/dmd/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin #which dmd /root/dmd/bin/dmd #cat /etc/dmd.conf file not found #cd /root #dmd test.d object.d: module object cannot read file 'object.d' #md5sum dmd.1.022.zip 645b4527ae4137d0e1dc639d2cf70974 dmd.1.022.zip -- |
June 25, 2008 [Issue 278] dmd.conf search path doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=278 ------- Comment #13 from bugzilla@digitalmars.com 2008-06-24 22:25 ------- If this is fixed, it should be closed. -- |
June 07, 2009 [Issue 278] dmd.conf search path doesn't work | ||||
---|---|---|---|---|
| ||||
Posted in reply to d-bugmail | http://d.puremagic.com/issues/show_bug.cgi?id=278 Brad Roberts <braddr@puremagic.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED CC| |braddr@puremagic.com Resolution| |FIXED --- Comment #14 from Brad Roberts <braddr@puremagic.com> 2009-06-07 12:55:14 PDT --- I'm closing this bug. Please re-open with specifics if there's still a problem that anyone can find with config file locating. If you have a problem, please give details about: 1) where you have dmd.conf/sc.ini files 2) where you have dmd executables 3) what your PATH env var is set to 4) exactly how you executed dmd 5) which conf file was used in case you suggest that it should have used a different one Thanks, Brad -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- |
Copyright © 1999-2021 by the D Language Foundation