Hello
I use Ubuntu Linux on my system. I have downloaded and tried to install the
make-4.2.1 package but when I execute the 'make' command (after the package
is configured) I encounter a problem and I don't know how to resolve. can
you help me?
I have put the error results in a text file which I have attached to this
email.
I appreciate your help very much.
Thank you

Sincerely yours
Iman Moosaie
imanmoosaie@ubuntu:~/Documents/make-3.79.1$ make
make  all-recursive
make[1]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1'
Making all in i18n
make[2]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[2]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1'
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c ar.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
arscan.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
commands.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c dir.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
expand.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c file.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
function.c
function.c: In function ‘check_numeric’:
function.c:721:5: warning: format not a string literal and no format arguments 
[-Wformat-security]
     fatal (reading_file, message);
     ^~~~~
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
getopt.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
implicit.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c job.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c main.c
main.c: In function ‘die’:
main.c:2782:2: warning: ignoring return value of ‘chdir’, declared with 
attribute warn_unused_result [-Wunused-result]
  chdir (directory_before_chdir);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c misc.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c read.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
remake.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c rule.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
signame.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
variable.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
vpath.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
default.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
remote-stub.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
version.c
gcc -DALIASPATH=\"/usr/local/share/locale:.\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -DLIBDIR=\"/usr/local/lib\" 
-DINCLUDEDIR=\"/usr/local/include\" -DHAVE_CONFIG_H -I. -I.     -g -O2 -c 
getopt1.c
gcc  -g -O2  -o make  ar.o arscan.o commands.o dir.o expand.o file.o function.o 
getopt.o implicit.o job.o main.o misc.o read.o remake.o rule.o signame.o 
variable.o vpath.o default.o remote-stub.o version.o getopt1.o    -lutil 
make[2]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1'
make[1]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1'

----------------------------------------------------------------------------------------------------------------------------

imanmoosaie@ubuntu:~/Documents/make-3.79.1$ make check
Making check in i18n
make[1]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[1]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1'
make  check-local
make[2]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1'
cd tests && perl ./run_make_tests.pl -make ../make 
Can't locate test_driver.pl in @INC (@INC contains: /etc/perl 
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1 
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5 
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24 
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at 
./run_make_tests.pl line 14.
make[2]: *** [Makefile:785: check-regression] Error 2
make[2]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1'
make[1]: *** [Makefile:634: check-am] Error 2
make[1]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1'
Makefile:452: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1

------------------------------------------------------------------------------------------------------------------------------

imanmoosaie@ubuntu:~/Documents/make-3.79.1$ make install
Making install in i18n
make[1]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[2]: Entering directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[2]: Nothing to be done for 'install-exec-am'.
files='de.mo es.mo fr.mo ja.mo ko.mo nl.mo pl.mo pt_BR.mo ru.mo'; \
for file in $files; do \
  base=`basename $file`; \
  langdir=/usr/local/share/locale/`echo $base | sed 's/\.mo$//'`/LC_MESSAGES; \
  /bin/sh ../mkinstalldirs $langdir; \
  echo " /usr/bin/install -c -m 644 ./$file $langdir/make.mo"; \
  /usr/bin/install -c -m 644 ./$file $langdir/make.mo; \
done
 /usr/bin/install -c -m 644 ./de.mo 
/usr/local/share/locale/de/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/de/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./es.mo 
/usr/local/share/locale/es/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/es/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./fr.mo 
/usr/local/share/locale/fr/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/fr/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./ja.mo 
/usr/local/share/locale/ja/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/ja/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./ko.mo 
/usr/local/share/locale/ko/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/ko/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./nl.mo 
/usr/local/share/locale/nl/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/nl/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./pl.mo 
/usr/local/share/locale/pl/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/pl/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./pt_BR.mo 
/usr/local/share/locale/pt_BR/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/pt_BR/LC_MESSAGES/make.mo': Permission denied
 /usr/bin/install -c -m 644 ./ru.mo 
/usr/local/share/locale/ru/LC_MESSAGES/make.mo
/usr/bin/install: cannot remove 
'/usr/local/share/locale/ru/LC_MESSAGES/make.mo': Permission denied
make[2]: *** [Makefile:214: install-data-local] Error 1
make[2]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
make[1]: *** [Makefile:157: install-am] Error 2
make[1]: Leaving directory '/home/imanmoosaie/Documents/make-3.79.1/i18n'
Makefile:452: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1

_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to