Dependency file .deps/dump.Tpo not found

20 views
Skip to first unread message

Dale Preston

unread,
Sep 29, 2019, 12:37:06 PM9/29/19
to Jansson users
I'm trying to install jansson 2.12 on Raspbian for use with asterisk.  apt-get for raspbian installs 2.9 but asterisk requires 2.11 or later.  When I try to build from source make fails.  The actual error message says permission denied but I'm running make as root and I know the file is not there - in fact, there's no .deps directory.  The problem is it's missing, not permissions.  Any suggestions or steps I am missing?

********************************* download and extract *********************************

pi@dpasterisk1:~/Downloads/asterisk/janssondownload $ wget http://www.digip.org/jansson/releases/jansson-2.12.tar.gz
Resolving www.digip.org (www.digip.org)... 91.232.156.82, 91.232.156.81
Connecting to www.digip.org (www.digip.org)|91.232.156.82|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 489154 (478K) [application/x-gzip]
Saving to: ‘jansson-2.12.tar.gz’

jansson-2.12.tar.gz                        100%[=====================================================================================>] 477.69K   655KB/s    in 0.7s

2019-09-29 10:59:08 (655 KB/s) - ‘jansson-2.12.tar.gz’ saved [489154/489154]

pi@dpasterisk1:~/Downloads/asterisk/janssondownload $ tar -xzvf jansson-2.12.tar.gz


***********************  output of make after successful run of configure *********************

pi@dpasterisk1:~/Downloads/asterisk/janssondownload/jansson-2.12 $ make
make  all-recursive
make[1]: Entering directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12'
Making all in doc
make[2]: Entering directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12/doc'
make[2]: Nothing to be done for 'all'.
make[2]: Leaving directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12/doc'
Making all in src
make[2]: Entering directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12/src'
/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wno-format-truncation -g -O2 -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c -o dump.lo dump.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wno-format-truncation -g -O2 -MT dump.lo -MD -MP -MF .deps/dump.Tpo -c dump.c  -fPIC -DPIC -o .libs/dump.o
dump.c:504:1: fatal error: opening dependency file .deps/dump.Tpo: Permission denied
 }
 ^
compilation terminated.
Makefile:478: recipe for target 'dump.lo' failed
make[2]: *** [dump.lo] Error 1
make[2]: Leaving directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12/src'
Makefile:453: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Downloads/asterisk/janssondownload/jansson-2.12'
Makefile:362: recipe for target 'all' failed
make: *** [all] Error 2

Dale Preston

unread,
Sep 29, 2019, 12:55:53 PM9/29/19
to Jansson users
I downloaded jansson 2.11 and went through the same steps.  I was able to build and install 2.11 successfully.  asterisk 16 requires jansson 2.11 or higher so I am good for now but I will follow the thread and help with any testing to fix the 2.12 bug.  If I can get it to build I'll upgrade my installation.
Reply all
Reply to author
Forward
0 new messages