Hi there guys,--
I am having problems in installing successfully this tool.I followed the "Building from source" instructions and everything seemed to be going great until > make command.This is the command line output:
Making all in srcmake[1]: Entering directory `/home/pedro/Soft/pear-0.9.6-src/src'make all-ammake[2]: Entering directory `/home/pedro/Soft/pear-0.9.6-src/src'gcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-pear-pt.o -MD -MP -MF .deps/pear-pear-pt.Tpo -c -o pear-pear-pt.o `test -f 'pear-pt.c' || echo './'`pear-pt.cmv -f .deps/pear-pear-pt.Tpo .deps/pear-pear-pt.Pogcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-args.o -MD -MP -MF .deps/pear-args.Tpo -c -o pear-args.o `test -f 'args.c' || echo './'`args.cmv -f .deps/pear-args.Tpo .deps/pear-args.Pogcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-statistics.o -MD -MP -MF .deps/pear-statistics.Tpo -c -o pear-statistics.o `test -f 'statistics.c' || echo './'`statistics.cmv -f .deps/pear-statistics.Tpo .deps/pear-statistics.Pogcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-reader.o -MD -MP -MF .deps/pear-reader.Tpo -c -o pear-reader.o `test -f 'reader.c' || echo './'`reader.creader.c: In function ‘db_read_fastq_block’:reader.c:742:5: warning: implicit declaration of function ‘gzoffset’ [-Wimplicit-function-declaration]reader.c:742:5: warning: nested extern declaration of ‘gzoffset’ [-Wnested-externs]reader.c:758:15: warning: ‘nBytes’ may be used uninitialized in this function [-Wuninitialized]mv -f .deps/pear-reader.Tpo .deps/pear-reader.Pogcc -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -o pear pear-pear-pt.o pear-args.o pear-statistics.o pear-reader.o -lz -lbz2 -lpthread -lmpear-reader.o: In function `db_read_fastq_block':reader.c:(.text+0x15c5): undefined reference to `gzoffset'reader.c:(.text+0x15d6): undefined reference to `gzoffset'collect2: ld returned 1 exit statusmake[2]: *** [pear] Error 1make[2]: Leaving directory `/home/pedro/Soft/pear-0.9.6-src/src'make[1]: *** [all] Error 2make[1]: Leaving directory `/home/pedro/Soft/pear-0.9.6-src/src'make: *** [all-recursive] Error 1
What might be causing this error?
RegardsPedro Castro
You received this message because you are subscribed to the Google Groups "pear-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pear-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[breese1@hpcm PEAR]$ make
Making all in src
make[1]: Entering directory `/home/breese1/pear/PEAR/src'
make all-am
make[2]: Entering directory `/home/breese1/pear/PEAR/src'
gcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-pear-pt.o -MD -MP -MF .deps/pear-pear-pt.Tpo -c -o pear-pear-pt.o `test -f 'pear-pt.c' || echo './'`pear-pt.c
mv -f .deps/pear-pear-pt.Tpo .deps/pear-pear-pt.Po
gcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-args.o -MD -MP -MF .deps/pear-args.Tpo -c -o pear-args.o `test -f 'args.c' || echo './'`args.c
mv -f .deps/pear-args.Tpo .deps/pear-args.Po
gcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-statistics.o -MD -MP -MF .deps/pear-statistics.Tpo -c -o pear-statistics.o `test -f 'statistics.c' || echo './'`statistics.c
mv -f .deps/pear-statistics.Tpo .deps/pear-statistics.Po
gcc -DHAVE_CONFIG_H -I. -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -MT pear-reader.o -MD -MP -MF .deps/pear-reader.Tpo -c -o pear-reader.o `test -f 'reader.c' || echo './'`reader.c
reader.c: In function ‘rewind_files’:
reader.c:213:33: warning: unused parameter ‘file1’ [-Wunused-parameter]
void rewind_files (const char * file1, const char * file2)
^
reader.c:213:53: warning: unused parameter ‘file2’ [-Wunused-parameter]
void rewind_files (const char * file1, const char * file2)
^
mv -f .deps/pear-reader.Tpo .deps/pear-reader.Po
gcc -O3 -fomit-frame-pointer -funroll-loops -Wall -Wredundant-decls -Wreturn-type -Wswitch-default -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Wimport -Wunused-label -Wno-int-to-pointer-cast -Wbad-function-cast -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wstrict-prototypes -Wpointer-sign -Wextra -Wredundant-decls -Wunused -Wunused-function -Wunused-parameter -Wunused-value -Wunused-variable -Wformat -Wformat-nonliteral -Wparentheses -Wsequence-point -Wuninitialized -Wundef -O3 -o pear pear-pear-pt.o pear-args.o pear-statistics.o pear-reader.o -lbz2 -lpthread -lm
make[2]: Leaving directory `/home/breese1/pear/PEAR/src'
make[1]: Leaving directory `/home/breese1/pear/PEAR/src'
Making all in man
make[1]: Entering directory `/home/breese1/pear/PEAR/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/breese1/pear/PEAR/man'
make[1]: Entering directory `/home/breese1/pear/PEAR'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/home/breese1/pear/PEAR'
[breese1@hpcm PEAR]$ make install
Making install in src
make[1]: Entering directory `/home/breese1/pear/PEAR/src'
make[2]: Entering directory `/home/breese1/pear/PEAR/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c pear '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/pear': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/home/breese1/pear/PEAR/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/breese1/pear/PEAR/src'
make: *** [install-recursive] Error 1
Hello Sarah,
you have to run 'make install' as root, or as 'sudo make install'
the installation will copy the pear executable to a system-wide path.
Best regards,
Tomas
Was there a final solution to this issue?I am experiencing the same problem.I followed the instructions above to use: "./configure --disable-zlib"And the make command went through without error.This is the output from "make install"
/usr/local/bioinf/PEAR$ make install
Making install in src
make[1]: Entering directory `/usr/local/bioinf/PEAR/src'
make[2]: Entering directory `/usr/local/bioinf/PEAR/src'
test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin"
/usr/bin/install -c pear '/usr/local/bin'
/usr/bin/install: cannot create regular file `/usr/local/bin/pear': Permission denied
make[2]: *** [install-binPROGRAMS] Error 1
make[2]: Leaving directory `/usr/local/bioinf/PEAR/src'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/bioinf/PEAR/src'
make: *** [install-recursive] Error 1