WordPress.org

Ready to get started?Download WordPress

Forums

CW Image Optimizer
littleutils make errors on Ubuntu X64 (2 posts)

  1. mitchellk
    Member
    Posted 1 year ago #

    Have tried everything but cannot get littlutils properly installed on Ubuntu x64. Here is what is generated after running

    sudo ./configure --prefix=/usr && make && make install && make install-extra

    make[1]: Entering directory `/usr/local/src/littleutils-1.0.27/littleutils'
    gcc -g -O2 -c filedate.c
    filedate.c: In function ‘printdate’:
    filedate.c:115: warning: format ‘%09u’ expects type ‘unsigned int’, but argument 3 has type ‘long int’
    filedate.c:125: warning: format ‘%09u’ expects type ‘unsigned int’, but argument 3 has type ‘long int’
    Assembler messages:
    Fatal error: can't create filedate.o: Permission denied
    make[1]: *** [filedate.o] Error 1
    make[1]: Leaving directory `/usr/local/src/littleutils-1.0.27/littleutils'
    make[1]: Entering directory `/usr/local/src/littleutils-1.0.27/imageutils'
    gcc -I.. -g -O2 -c jpgcom.c
    Assembler messages:
    Fatal error: can't create jpgcom.o: Permission denied
    make[1]: *** [jpgcom.o] Error 1
    make[1]: Leaving directory `/usr/local/src/littleutils-1.0.27/imageutils'
    make[1]: Entering directory `/usr/local/src/littleutils-1.0.27/repeats'
    sed -e "s:REPHARD:/usr/lib/littleutils/rep_hard:" \
    -e "s:REPHASH:/usr/lib/littleutils/rep_hash:" \
    -e "s:REPNODE:/usr/lib/littleutils/rep_node:" \
    -e "s:REPSIZE:/usr/lib/littleutils/rep_size:" \
    -e "s:LU_VERSION:1.0.27:" \
    -e "s:PROGDASH:/bin/dash:" < repeats.in > repeats
    /bin/sh: cannot create repeats: Permission denied
    make[1]: *** [repeats] Error 2
    make[1]: Leaving directory `/usr/local/src/littleutils-1.0.27/repeats'
    make[1]: Entering directory `/usr/local/src/littleutils-1.0.27/scripts'
    sed -e "s:PROGPERL:/usr/bin/perl:" -e "s:LU_VERSION:1.0.27:" \
    -e "s:PROGNAME:lowercase:g" -e "s:KEYFUNC:lc:" < lcuc.in > lowercase
    /bin/sh: cannot create lowercase: Permission denied
    make[1]: *** [lowercase] Error 2
    make[1]: Leaving directory `/usr/local/src/littleutils-1.0.27/scripts'
    make: *** [all] Error 1

  2. mitchellk
    Member
    Posted 1 year ago #

    Never mind I fixed it by doing the following one at a time:

    sudo ./configure
    sudo make
    sudo make install
    sudo make install-extra

    :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic