Since ptxdist version 1.99.16 I get the following error message when I do a
'ptxdist go':

error: failed to source lib:
/usr/local/lib/ptxdist-1.99.17/scripts/lib/ptxd_make_00-init.sh


The script tries to compile a small one line program, parsing the output looking
for specific text. As I don't know sed command syntax, I am not sure exactly
what it is looking for. I am just using the standard Ubuntu Hardy compiler, gcc
4.2.4 installed on the system. I have also tried gcc 4.3.3 with the same result.

If I change the script to return 0 then the rest of the build continues
normally. The script executes the following command which is then piped into the
sed command. The output of my compiler is shown below.

echo 'int main(void){return 0;}' | gcc -x c -o /dev/null -v -


Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v
--enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr
--enable-shared --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr
--enable-targets=all --enable-checking=release --build=i486-linux-gnu
--host=i486-linux-gnu --target=i486-linux-gnu
Thread model: posix
gcc version 4.2.4 (Ubuntu 4.2.4-1ubuntu4)
 /usr/lib/gcc/i486-linux-gnu/4.2.4/cc1 -quiet -v - -quiet -dumpbase -
-mtune=generic -auxbase - -version -fstack-protector -fstack-protector -o
/tmp/ccQS4eXR.s
ignoring nonexistent directory "/usr/local/include/i486-linux-gnu"
ignoring nonexistent directory
"/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../i486-linux-gnu/include"
ignoring nonexistent directory "/usr/include/i486-linux-gnu"
#include "..." search starts here:
#include <...> search starts here:
 /usr/local/include
 /usr/lib/gcc/i486-linux-gnu/4.2.4/include
 /usr/include
End of search list.
GNU C version 4.2.4 (Ubuntu 4.2.4-1ubuntu4) (i486-linux-gnu)
 compiled by GNU C version 4.2.4 (Ubuntu 4.2.4-1ubuntu4).
GGC heuristics: --param ggc-min-expand=99 --param ggc-min-heapsize=129421
Compiler executable checksum: cbbe762aad92f3ea8e83d46e5489fd3e
 as --traditional-format -V -Qy -o /tmp/ccei4a3G.o /tmp/ccQS4eXR.s
GNU assembler version 2.18.0 (i486-linux-gnu) using BFD version (GNU Binutils
for Ubuntu) 2.18.0.20080103
 /usr/lib/gcc/i486-linux-gnu/4.2.4/collect2 --eh-frame-hdr -m elf_i386
--hash-style=both -dynamic-linker /lib/ld-linux.so.2 -o /dev/null
/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crt1.o
/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crti.o
/usr/lib/gcc/i486-linux-gnu/4.2.4/crtbegin.o -L/usr/lib/gcc/i486-linux-gnu/4.2.4
-L/usr/lib/gcc/i486-linux-gnu/4.2.4
-L/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib -L/lib/../lib
-L/usr/lib/../lib -L/usr/lib/gcc/i486-linux-gnu/4.2.4/../../.. /tmp/ccei4a3G.o
-lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s
--no-as-needed /usr/lib/gcc/i486-linux-gnu/4.2.4/crtend.o
/usr/lib/gcc/i486-linux-gnu/4.2.4/../../../../lib/crtn.o


--
ptxdist mailing list
[email protected]

Reply via email to