Skip to content

node global installation process failure #131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jihoonl opened this issue Nov 7, 2014 · 4 comments
Closed

node global installation process failure #131

jihoonl opened this issue Nov 7, 2014 · 4 comments
Labels

Comments

@jihoonl
Copy link
Member

jihoonl commented Nov 7, 2014

follow up from #127

jihoonl@whoola:~$ sudo npm install -g roslib
[sudo] password for jihoonl: 
-
> roslib@0.9.0 preinstall /usr/local/lib/node_modules/roslib
> sh misc/install.sh

[sudo] password for nobody: 
Sorry, try again.
[sudo] password for nobody: 
Sorry, try again.
[sudo] password for nobody: 
Sorry, try again.
sudo: 3 incorrect password attempts
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

npm version 0.9.0 Testing.

local installation

npm install roslib

works fine.

global installation

sudo npm install -g roslib

It seems like preinstall process causing problems.

  • asking sudo for nobody
  • node-canvas installation using curl command.
@megawac
Copy link
Contributor

megawac commented Nov 7, 2014

Is there any way to detect if cario is installed so we can exit early from the shell script and not request sudo

@Rayman
Copy link
Contributor

Rayman commented Nov 7, 2014

For apt-get you could do this:

if [ $(dpkg-query -W -f='${Status}' libcairo2-dev 2>/dev/null | grep -c "ok installed") -eq 0 ];
then
  sudo apt-get install libcairo2-dev
fi

@jihoonl
Copy link
Member Author

jihoonl commented Nov 10, 2014

I have created PR to continue discussion and test global installation. I changed pre install script as @Rayman suggested and got the error following. you can checkout node_global_fix branch and test it too.

jihoonl@whoola:~/research/node/test$ sudo npm install -g ../roslibjs
[sudo] password for jihoonl: 

> roslib@0.9.0 preinstall /usr/local/lib/node_modules/roslib
> sh misc/install.sh

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  1669  100  1669    0     0   2708      0 --:--:-- --:--:-- --:--:--  2705
... installing to /usr/local
... checking for curl
... found
... checking for tar
... found
... checking for pkg-config
... found
... downloading libpng-1.6.10.tar.gz
######################################################################## 100.0%
... unpacking

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
... downloading giflib-4.1.6.tar.gz
######################################################################## 100.0%
... unpacking
... removing tarball
... installing giflib-4.1.6
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) none
checking how to run the C preprocessor... gcc -E
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking whether gcc and cc understand -c and -o together... yes
checking for pow in -lm... yes
checking rle.h usability... no
checking rle.h presence... no
checking for rle.h... no
checking gl/gl.h usability... no
checking gl/gl.h presence... no
checking for gl/gl.h... no
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for main in -lX11... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking for main in -lX11... (cached) yes
checking for ANSI C header files... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for u_int32_t... yes
checking for an ANSI C-conforming const... yes
checking for working memcmp... yes
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking for vprintf... yes
checking for _doprnt... no
checking for strdup... yes
configure: creating ./config.status
config.status: creating util/Makefile
config.status: creating lib/Makefile
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating pic/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6'
Making all in lib
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c getarg.c
rm -f libgetarg.a
ar cru libgetarg.a getarg.o 
ranlib libgetarg.a
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o dev2gif.lo dev2gif.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c dev2gif.c  -fPIC -DPIC -o .libs/dev2gif.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c dev2gif.c -o dev2gif.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o dgif_lib.lo dgif_lib.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c dgif_lib.c  -fPIC -DPIC -o .libs/dgif_lib.o
dgif_lib.c: In function 'DGifOpenFileHandle':
dgif_lib.c:143:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
     if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) {
     ^
In file included from dgif_lib.c:38:0:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
dgif_lib.c:143:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
     if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) {
     ^
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:143:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:143:5: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
In file included from dgif_lib.c:38:0:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^
dgif_lib.c: In function 'DGifOpen':
dgif_lib.c:210:5: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
     if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) {
     ^
In file included from dgif_lib.c:38:0:
/usr/include/string.h:399:15: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern size_t strlen (const char *__s)
               ^
dgif_lib.c:210:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
     if (strncmp(GIF_STAMP, Buf, GIF_VERSION_POS) != 0) {
     ^
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 1 of '__builtin_strlen' differ in signedness [-Wpointer-sign]
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 2 of '__builtin_strcmp' differ in signedness [-Wpointer-sign]
dgif_lib.c:210:5: note: expected 'const char *' but argument is of type 'unsigned char *'
dgif_lib.c:210:5: warning: pointer targets in passing argument 2 of 'strncmp' differ in signedness [-Wpointer-sign]
In file included from dgif_lib.c:38:0:
/usr/include/string.h:147:12: note: expected 'const char *' but argument is of type 'unsigned char *'
 extern int strncmp (const char *__s1, const char *__s2, size_t __n)
            ^
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c dgif_lib.c -o dgif_lib.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o egif_lib.lo egif_lib.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c egif_lib.c  -fPIC -DPIC -o .libs/egif_lib.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c egif_lib.c -o egif_lib.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o gif_err.lo gif_err.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_err.c  -fPIC -DPIC -o .libs/gif_err.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_err.c -o gif_err.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o gif_font.lo gif_font.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_font.c  -fPIC -DPIC -o .libs/gif_font.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_font.c -o gif_font.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o gif_hash.lo gif_hash.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_hash.c  -fPIC -DPIC -o .libs/gif_hash.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gif_hash.c -o gif_hash.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o gifalloc.lo gifalloc.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gifalloc.c  -fPIC -DPIC -o .libs/gifalloc.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c gifalloc.c -o gifalloc.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o qprintf.lo qprintf.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c qprintf.c  -fPIC -DPIC -o .libs/qprintf.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c qprintf.c -o qprintf.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -c -o quantize.lo quantize.c
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c quantize.c  -fPIC -DPIC -o .libs/quantize.o
 gcc -DHAVE_CONFIG_H -I. -I.. -g -O2 -Wall -c quantize.c -o quantize.o >/dev/null 2>&1
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall -version-info 5:6:1  -o libgif.la -rpath /usr/local/lib dev2gif.lo dgif_lib.lo egif_lib.lo gif_err.lo gif_font.lo gif_hash.lo gifalloc.lo qprintf.lo quantize.lo -lSM -lICE   -lX11  -lSM -lICE   -lX11 
gcc -shared  .libs/dev2gif.o .libs/dgif_lib.o .libs/egif_lib.o .libs/gif_err.o .libs/gif_font.o .libs/gif_hash.o .libs/gifalloc.o .libs/qprintf.o .libs/quantize.o  -lSM -lICE -lX11  -Wl,-soname -Wl,libgif.so.4 -o .libs/libgif.so.4.1.6
(cd .libs && rm -f libgif.so.4 && ln -s libgif.so.4.1.6 libgif.so.4)
(cd .libs && rm -f libgif.so && ln -s libgif.so.4.1.6 libgif.so)
ar cru .libs/libgif.a  dev2gif.o dgif_lib.o egif_lib.o gif_err.o gif_font.o gif_hash.o gifalloc.o qprintf.o quantize.o
ranlib .libs/libgif.a
creating libgif.la
(cd .libs && rm -f libgif.la && ln -s ../libgif.la libgif.la)
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
Making all in util
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/util'
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gif2epsn.c
gif2epsn.c: In function ‘main’:
gif2epsn.c:149:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gif2epsn gif2epsn.o ../lib/libgif.la ../lib/libgetarg.a 
mkdir .libs
gcc -g -O2 -Wall -o .libs/gif2epsn gif2epsn.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gif2epsn
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gif2ps.c
gif2ps.c: In function ‘main’:
gif2ps.c:132:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gif2ps gif2ps.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gif2ps gif2ps.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gif2ps
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gif2rgb.c
gif2rgb.c: In function ‘main’:
gif2rgb.c:111:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gif2rgb gif2rgb.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gif2rgb gif2rgb.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gif2rgb
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifasm.c
gifasm.c: In function ‘main’:
gifasm.c:101:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifasm gifasm.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifasm gifasm.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifasm
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifbg.c
gifbg.c: In function ‘main’:
gifbg.c:133:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifbg gifbg.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifbg gifbg.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifbg
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifclip.c
gifclip.c: In function ‘main’:
gifclip.c:95:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifclip gifclip.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifclip gifclip.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifclip
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifcomb.c
gifcomb.c: In function ‘main’:
gifcomb.c:96:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifcomb gifcomb.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifcomb gifcomb.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifcomb
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c giffix.c
giffix.c: In function ‘main’:
giffix.c:93:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o giffix giffix.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/giffix giffix.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating giffix
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifflip.c
gifflip.c: In function ‘main’:
gifflip.c:107:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifflip gifflip.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifflip gifflip.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifflip
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifhisto.c
gifhisto.c: In function ‘main’:
gifhisto.c:115:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifhisto gifhisto.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifhisto gifhisto.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifhisto
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifinter.c
gifinter.c: In function ‘main’:
gifinter.c:101:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifinter gifinter.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifinter gifinter.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifinter
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifinto.c
gifinto.c: In function ‘main’:
gifinto.c:99:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifinto gifinto.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifinto gifinto.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
gifinto.o: In function `main':
/usr/local/lib/node_modules/roslib/giflib-4.1.6/util/gifinto.c:136: warning: the use of `tmpnam' is dangerous, better use `mkstemp'
creating gifinto
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifovly.c
gifovly.c: In function ‘main’:
gifovly.c:76:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifovly gifovly.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifovly gifovly.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifovly
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifpos.c
gifpos.c: In function ‘main’:
gifpos.c:93:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifpos gifpos.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifpos gifpos.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifpos
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifrsize.c
gifrsize.c: In function ‘main’:
gifrsize.c:116:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifrsize gifrsize.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifrsize gifrsize.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifrsize
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c giftext.c
giftext.c: In function ‘main’:
giftext.c:105:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o giftext giftext.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/giftext giftext.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating giftext
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifwedge.c
gifwedge.c: In function ‘main’:
gifwedge.c:97:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifwedge gifwedge.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifwedge gifwedge.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifwedge
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c raw2gif.c
raw2gif.c: In function ‘main’:
raw2gif.c:121:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
raw2gif.c:140:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
      fscanf(InColorMapFile, "%3d %3d %3d %3d\n",
            ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o raw2gif raw2gif.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/raw2gif raw2gif.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating raw2gif
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c rgb2gif.c
rgb2gif.c: In function ‘main’:
rgb2gif.c:114:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o rgb2gif rgb2gif.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/rgb2gif rgb2gif.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating rgb2gif
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c text2gif.c
text2gif.c: In function ‘main’:
text2gif.c:110:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o text2gif text2gif.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/text2gif text2gif.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating text2gif
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifspnge.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifspnge gifspnge.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifspnge gifspnge.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifspnge
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c giffiltr.c
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o giffiltr giffiltr.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/giffiltr giffiltr.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating giffiltr
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c icon2gif.c
icon2gif.c: In function ‘main’:
icon2gif.c:97:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o icon2gif icon2gif.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/icon2gif icon2gif.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating icon2gif
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifcolor.c
gifcolor.c: In function ‘main’:
gifcolor.c:92:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifcolor gifcolor.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifcolor gifcolor.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifcolor
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifinfo.c
gifinfo.c: In function ‘main’:
gifinfo.c:107:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifinfo gifinfo.o ../lib/libgif.la ../lib/libgetarg.a 
gcc -g -O2 -Wall -o .libs/gifinfo gifinfo.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a 
creating gifinfo
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifclrmp.c
gifclrmp.c: In function ‘main’:
gifclrmp.c:114:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
gifclrmp.c: In function ‘ModifyColorMap’:
gifclrmp.c:300:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
      fscanf(ColorFile, "%3d %3d %3d %3d\n", &Dummy, &Red, &Green, &Blue);
            ^
gifclrmp.c:328:12: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
      fscanf(TranslateFile, "%3d %3d\n", &Dummy, &tmp);
            ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifclrmp gifclrmp.o ../lib/libgif.la ../lib/libgetarg.a  -lm 
gcc -g -O2 -Wall -o .libs/gifclrmp gifclrmp.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a -lm 
creating gifclrmp
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c gifrotat.c
gifrotat.c: In function ‘main’:
gifrotat.c:120:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gifrotat gifrotat.o ../lib/libgif.la ../lib/libgetarg.a  -lm 
gcc -g -O2 -Wall -o .libs/gifrotat gifrotat.o  ../lib/.libs/libgif.so -lSM -lICE -lX11 ../lib/libgetarg.a -lm 
creating gifrotat
gcc -DHAVE_CONFIG_H -I. -I..  -I. -I../lib   -g -O2 -Wall -c -o gif2x11-gif2x11.o `test -f 'gif2x11.c' || echo './'`gif2x11.c
gif2x11.c: In function ‘main’:
gif2x11.c:146:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(stderr, VersionStr);
  ^
/bin/bash ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall   -o gif2x11 gif2x11-gif2x11.o ../lib/libgif.la ../lib/libgetarg.a   -lSM -lICE   -lX11  -lSM -lICE   -lX11 
gcc -g -O2 -Wall -o .libs/gif2x11 gif2x11-gif2x11.o  ../lib/.libs/libgif.so ../lib/libgetarg.a -lSM -lICE -lX11 
creating gif2x11
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/util'
Making all in doc
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/doc'
Making all in pic
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/pic'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/pic'
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6'
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6'
make[1]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6'
Making install in lib
make[1]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
make[2]: Entering directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
test -z "/usr/local/lib" || /bin/mkdir -p "/usr/local/lib"
 /bin/bash ../libtool --mode=install /usr/bin/install -c  'libgif.la' '/usr/local/lib/libgif.la'
/usr/bin/install -c .libs/libgif.so.4.1.6 /usr/local/lib/libgif.so.4.1.6
/usr/bin/install: cannot create regular file '/usr/local/lib/libgif.so.4.1.6': Permission denied
make[2]: *** [install-libLTLIBRARIES] Error 1
make[2]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/usr/local/lib/node_modules/roslib/giflib-4.1.6/lib'
make: *** [install-recursive] Error 1
... downloading freetype-2.4.10.tar.gz
######################################################################## 100.0%

@T045T
Copy link
Contributor

T045T commented Apr 26, 2015

This should be fixed with #178, since the installation no longer requires sudo

@T045T T045T closed this as completed Apr 26, 2015
k-aguete pushed a commit to k-aguete/roslibjs that referenced this issue Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants