ID: | 20 |
From: | James Battat <jb...@wellesley.edu> |
Date: | Fri, 19 Aug 2016 23:10:51 -0400 |
Subject: | Re: [pcb-rnd] build question on debian |
in-reply-to: | 18 from ge...@igor2.repo.hu |
replies: | 21 from ge...@igor2.repo.hu |
--Apple-Mail=_0B8250BE-6A28-41AB-A74C-B94BE6A5106A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Thanks =97 here it is On Aug 19, 2016, at 11:03 PM, gedau@igor2.repo.hu wrote: > Hi James, >=20 > On Fri, 19 Aug 2016, James Battat wrote: >=20 >> apologies for the really basic question, but on debian, I can no = longer build pcb-rnd >>=20 >> $ pwd >> /home/jbattat/pcb-rnd/trunk >> $ svn up >> $ make distclean >> $ ./configure --debug >> ? >> Checking for fork... not found >> not found >> Checking for _spawnvp... not found >>=20 >> ERROR: no fork or _spawnvp. Can not compile pcb-rnd. >>=20 >> hook_detect_target failed, exiting >>=20 >>=20 >> Not sure what spawnvp is, but no obvious package shows up with = "apt-cache search spawnvp" >=20 >=20 > It's a win32 API call. Pcb-rnd needs to run background processes. It = should use fork() on *NIX and spawnvp on windows. It's fine that it = didn't detect _spawnvp on Debian, but it's strange that it failed to = detect fork. Please send me your scconfig/config.log, that'd show what = went wrong. >=20 > TIA, >=20 > Igor2 >=20 >=20 >=20 --Apple-Mail=_0B8250BE-6A28-41AB-A74C-B94BE6A5106A Content-Type: multipart/mixed; boundary="Apple-Mail=_53CF44BA-B77A-4D48-94BE-5F414C950467" --Apple-Mail=_53CF44BA-B77A-4D48-94BE-5F414C950467 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dwindows-1252"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Thanks = =97 here it is<div></div></body></html>= --Apple-Mail=_53CF44BA-B77A-4D48-94BE-5F414C950467 Content-Disposition: attachment; filename=scconfig.config.log Content-Type: application/octet-stream; name="scconfig.config.log" Content-Transfer-Encoding: 7bit (Required node: 'sys/name') (Required node: 'sys/tmp') (Required node: 'sys/shell') finding a shell testing '/bin/sh -c' as shell run: ' /bin/sh -c echo hello >scc_30886 2>>scc_89383.out' ========= empty stderr ================= run result: 0 stdout: ' ' refused. testing '/bin/sh -c' as shell run: ' /bin/sh -c "echo hello" >scc_36915 2>>scc_92777.out' ========= empty stderr ================= run result: 0 stdout: 'hello ' accepted. found a shell '/bin/sh -c', need quote: true finding shell escape character... run: ' echo \\\ \{\}\&\;\| >scc_38335 2>>scc_47793.out' ========= empty stderr ================= run result: 0 stdout: '\ {}&;| ' found shell escape char '\' Finding temp dir (current working directory)... testing if shell eats \... run: ' /bin/sh -c "echo c:\n" >scc_60492 2>>scc_85386.out' ========= empty stderr ================= run result: 0 stdout: 'c:n ' shell eats \... run: ' /bin/sh -c "pwd" >scc_41421 2>>scc_16649.out' ========= empty stderr ================= run result: 0 stdout: '/home/jbattat/pcb-rnd/trunk/scconfig ' cwd is '/home/jbattat/pcb-rnd/trunk/scconfig/' trying detected temp dir '/home/jbattat/pcb-rnd/trunk/scconfig/' validating temp dir '/home/jbattat/pcb-rnd/trunk/scconfig/' temp dir works! Detected temp dir '/home/jbattat/pcb-rnd/trunk/scconfig/' [find_uname] checking for sys/name not set, running run: ' /bin/sh -c "uname -a" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_68690 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_90027.out' ========= empty stderr ================= run result: 0 stdout: 'Linux debian 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1+deb8u3 (2015-08-04) x86_64 GNU/Linux ' run: ' /bin/sh -c "uname -m" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_97763 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_20059.out' ========= empty stderr ================= run result: 0 stdout: 'x86_64 ' run: ' /bin/sh -c "uname -o" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_80540 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_13926.out' ========= empty stderr ================= run result: 0 stdout: 'GNU/Linux ' (Required node: 'fstools/ar') find_fstools_ar: trying to find ar... trying 'ar' run: ' /bin/sh -c "ar ru /home/jbattat/pcb-rnd/trunk/scconfig/scc_89172 /home/jbattat/pcb-rnd/trunk/scconfig/scc_83426" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_5211 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_55736.out' ========= output dump start ============ ar: creating /home/jbattat/pcb-rnd/trunk/scconfig/scc_89172 ========= output dump end ============== run result: 0 run: ' /bin/sh -c "ar t /home/jbattat/pcb-rnd/trunk/scconfig/scc_89172" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_2567 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_95368.out' ========= empty stderr ================= run result: 0 stdout: 'scc_83426 ' (Required node: 'fstools/mkdir') find_fstools_mkdir: trying to find mkdir... trying 'mkdir -p' run: ' /bin/sh -c "cd -p" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_21530 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_65782.out' ========= output dump start ============ /bin/sh: 1: cd: Illegal option -p ========= output dump end ============== run result: 512 run: ' /bin/sh -c "mkdir -p /home/jbattat/pcb-rnd/trunk/scconfig/scc_56429" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_65123 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_22862.out' ========= empty stderr ================= run result: 0 run: ' /bin/sh -c "rmdir /home/jbattat/pcb-rnd/trunk/scconfig/scc_56429" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_3135 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_74067.out' ========= empty stderr ================= run result: 0 run: ' /bin/sh -c "cd -p" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_79802 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_13929.out' ========= output dump start ============ /bin/sh: 1: cd: Illegal option -p ========= output dump end ============== run result: 512 (Required node: 'fstools/rm') find_fstools_rm: trying to find rm... trying 'rm -rf' run: ' /bin/sh -c "rm -rf /home/jbattat/pcb-rnd/trunk/scconfig/scc_34022" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_33069 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_23058.out' ========= empty stderr ================= run result: 0 (Required node: 'fstools/cp') find_fstools_cp: trying to find cp... trying 'cp -rp' run: ' /bin/sh -c "cp -rp /home/jbattat/pcb-rnd/trunk/scconfig/scc_98167 /home/jbattat/pcb-rnd/trunk/scconfig/scc_61393" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_75011 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_18456.out' ========= empty stderr ================= run result: 0 result: 'works.' == 'works.' (1) (Required node: 'fstools/ln') find_fstools_ln: trying to find ln... trying 'ln -sf' run: ' /bin/sh -c "ln -sf /home/jbattat/pcb-rnd/trunk/scconfig/scc_78042 /home/jbattat/pcb-rnd/trunk/scconfig/scc_76229" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_84421 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_77373.out' ========= empty stderr ================= run result: 0 result: 'works.' == 'works.' (1) (Required node: 'cc/fpic') (Required node: 'cc/cc') find_cc: trying to find cc (target)... find_cc: Detecting cc (host) trying cc:try_flags with cc='gcc' cflags='' ldflags='' compile: '/bin/sh -c "gcc /home/jbattat/pcb-rnd/trunk/scconfig/scc_44919.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_13784 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_98537.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_13784 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_94324 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_75198.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' find_cc: Detecting -pipe compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_98315.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_64370 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_66413.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_64370 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_76091 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_3526.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' find_cc: final test on cc and all flags compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_68980.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_59956 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_41873.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_59956 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_99170 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_6862.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' find_cc: conclusion: cc='gcc' cflags=' -pipe' ldflags='' find_fpic: trying to find -fpic... trying cc:try_flags with cc='gcc' cflags='' ldflags='+-fPIC' compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_6996.c -fPIC -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_97281 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_2305.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_97281 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_77084 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_20925.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/fs/mkdtemp/*') find_fs_mkdtemp: trying to find mkdtemp()... trying '#include <stdlib.h> ' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_36327.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_60336 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_26505.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_60336 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_21729 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_50846.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/fs/realpath/*') find_fs_realpath: trying to find realpath... trying '' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_61313.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_25857 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_16124.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_25857 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_19582 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_53895.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/fs/readdir/*') find_fs_readdir: trying to find readdir... trying '#include <dirent.h>' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_545.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_98814 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_33367.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_98814 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_90364 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_15434.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/math/rint/*') test_mathf: trying to find rint... trying '#include <math.h>' and '' and '', with a run compile: '/bin/sh -c "gcc /home/jbattat/pcb-rnd/trunk/scconfig/scc_44043.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_13750 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_71087.out' ========= output dump start ============ /tmp/ccN40QrJ.o: In function `main': scc_44043.c:(.text+0x1c): undefined reference to `rint' collect2: error: ld returned 1 exit status ========= output dump end ============== compile result: 256 trying '#include <math.h>' and '' and '+-lm', with a run compile: '/bin/sh -c "gcc /home/jbattat/pcb-rnd/trunk/scconfig/scc_26808.c -lm -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_17276 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_47178.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_17276 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_93584 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_95788.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/userpass/getpwuid/*') find_username_getpw: trying to find getpwuid()... trying ' #include <sys/types.h> #include <pwd.h> ' and '+' and '+', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_5403.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_2651 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_92754.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_2651 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_99932 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_12399.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/ldl') find_lib_ldl: trying to find ldl... trying '' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_95060.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_49676 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_93368.out' ========= output dump start ============ /tmp/ccFi1qE3.o: In function `main': scc_95060.c:(.text+0x13): undefined reference to `dlopen' collect2: error: ld returned 1 exit status ========= output dump end ============== compile result: 256 trying '' and '(null)' and '+-ldl', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_47739.c -ldl -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_10012 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_36226.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_10012 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_48094 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_98586.out' ========= empty stderr ================= run result: 0 stdout: 'OK ' (Required node: 'libs/proc/wait') (Required node: 'libs/proc/fork') find_proc_fork: trying to find fork... trying '#include <unistd.h>' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_97539.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_40795 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_80570.out' ========= empty stderr ================= compile result: 0 run: ' /home/jbattat/pcb-rnd/trunk/scconfig/scc_40795 >/home/jbattat/pcb-rnd/trunk/scconfig/scc_60378 2>>/home/jbattat/pcb-rnd/trunk/scconfig/scc_51434.out' ========= empty stderr ================= run result: 0 stdout: '' NOT FOUND. (Feature not found, but it is not fatal) NOT FOUND.(Feature not found, but it is not fatal)(Required node: 'libs/proc/_spawnvp') find_proc__spawnvp: trying to find _spawnvp... trying '#include <process.h>' and '(null)' and '(null)', with a run compile: '/bin/sh -c "gcc -pipe /home/jbattat/pcb-rnd/trunk/scconfig/scc_97467.c -o /home/jbattat/pcb-rnd/trunk/scconfig/scc_66601 2>&1" >/home/jbattat/pcb-rnd/trunk/scconfig/scc_10097.out' ========= output dump start ============ /home/jbattat/pcb-rnd/trunk/scconfig/scc_97467.c:1:21: fatal error: process.h: No such file or directory #include <process.h> ^ compilation terminated. ========= output dump end ============== compile result: 256 NOT FOUND.(Feature not found, but it is not fatal) --Apple-Mail=_53CF44BA-B77A-4D48-94BE-5F414C950467 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html = charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space;"><div><br><div apple-content-edited=3D"true"> <div style=3D"color: rgb(0, 0, 0); letter-spacing: normal; orphans: = auto; text-align: start; text-indent: 0px; text-transform: none; = white-space: normal; widows: auto; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; = -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space;"><br></div> </div> <br><div><div>On Aug 19, 2016, at 11:03 PM, <a = href=3D"mailto:gedau@igor2.repo.hu">gedau@igor2.repo.hu</a> = wrote:</div><br class=3D"Apple-interchange-newline"><blockquote = type=3D"cite">Hi James,<br><br>On Fri, 19 Aug 2016, James Battat = wrote:<br><br><blockquote type=3D"cite">apologies for the really basic = question, but on debian, I can no longer build pcb-rnd<br><br>$ = pwd<br>/home/jbattat/pcb-rnd/trunk<br>$ svn up<br>$ make distclean<br>$ = ./configure --debug<br>?<br>Checking for fork... not found<br>not = found<br>Checking for _spawnvp... not found<br><br>ERROR: no fork or = _spawnvp. Can not compile pcb-rnd.<br><br>hook_detect_target failed, = exiting<br><br><br>Not sure what spawnvp is, but no obvious package = shows up with "apt-cache search spawnvp"<br></blockquote><br><br>It's a = win32 API call. Pcb-rnd needs to run background processes. It should use = fork() on *NIX and spawnvp on windows. It's fine that it didn't detect = _spawnvp on Debian, but it's strange that it failed to detect fork. = Please send me your scconfig/config.log, that'd show what went = wrong.<br><br>TIA,<br><br>Igor2<br><br><br><br></blockquote></div><br></di= v></body></html>= --Apple-Mail=_53CF44BA-B77A-4D48-94BE-5F414C950467-- --Apple-Mail=_0B8250BE-6A28-41AB-A74C-B94BE6A5106A--
Reply subtree:
20 Re: [pcb-rnd] build question on debian from James Battat <jb...@wellesley.edu>
21 Re: [pcb-rnd] build question on debian from ge...@igor2.repo.hu