Bug #31

Varnish3 missing dependency

Added by Marco Tiggelaar about 2 years ago.

Status:NewStart date:06/28/2015
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-

Description

Hello,

Issue was reported on forum here:
https://virtualpf.com/support/forum/varnish3-has-missing-dependencies/
Varnish3 has a missing dependency:

Varnish3 needs a cc (gcc) compiler to compile it’s config .vcls
Following Error is showing up:
php-fpm51360: /pkg_edit.php: The command ‘/usr/local/etc/rc.d/varnish.sh’ returned exit code ‘2’, the output was ‘kern.ipc.somaxconn: 16384 -> 16384 kern.maxfiles: 131072 -> 131072 kern.maxfilesperproc: 104856 -> 104856 kern.threads.max_threads_per_proc: 4096 -> 4096 Message from C-compiler: exec: cc: not found Running C-compiler failed, exit 127 VCL compilation failed’

Temporary fix:
cd /usr/pbi/varnish-amd64/local/bin
ln -s gcc47 cc
append PATH variable with: /usr/pbi/varnish-amd64/local/bin in /usr/local/etc/rc.d/varnish.sh

Please fix it in next release.

Regards,
Marco

Also available in: Atom PDF