Can't start varnish, missing cc dependency or something
-
I'll change compile options and ask another package compilation.
-
Thank you marcelloc, please let me know when it is ready so I can test again.
Best Regards,
Z. -
I'm also getting this bug.
Also can you add..
- a way to edit 'vcl_hash'
- a 'null' option to 'Forward client IP' (I want to set this through HAProxy which sits in front of Varnish)
- a way to add acl's
Thanks! If I have some time this week I'll see if I can hack these changes in myself.
-
Compile args were changed on package info. Let's wait next package compile run to see if it works.
-
Hiya, I am having the same issue. Does anyone know when the next package compile will run pls?
Cheers,
Raj
-
Still waiting. ..
-
I have the same problem. Nothing from the webgui changed anything. (Services -> Varnish -> Enable Varnish etc.)
So I logged in and also had to```
ln -s /usr/pbi/gcc-i386/bin/gcc42 /usr/bin/ccand so when I try to start it manually I get this:
[2.1-RELEASE][admin@skynet.starbase.org]/root(57): varnishd -f /etc/varnish/default.vcl -s malloc,1G -T 127.0.0.1:2000 -a 0.0.0.0:8080
nm: not found
storage_malloc: max size 1024 MB.
Message from C-compiler:
cc: error trying to exec 'as': execvp: No such file or directory
Running C-compiler failed, exit 1
VCL compilation failedHelp would be much appreciated. :) / Rocketdog using **2.1-RELEASE (i386)**
-
The new pbi was compiled by jimp but it still return error.
I'm looking for a way to include cc on this pbi.
-
We fixed this by manually installing the missing packages.
cc is part of gcc
as is part of binutilsFetch and transfer the following to /tmp (with i.e. WinSCP on Windows. *nix users should know what to do :) ):
http://files.pfsense.org/packages/amd64/8/All/gcc-4.2.5.20090325_5-amd64.pbi
http://files.pfsense.org/packages/amd64/8/All/binutils-2.21.1.tbzThen do the following via ssh:
pbi_add -f –no-checksig /tmp/gcc-4.2.5.20090325_5-amd64.pbi
pkg_add /tmp/binutils-2.21.1.tbz
ln -s /usr/pbi/gcc-amd64/bin/gcc42 /usr/local/bin/ccOptionally install the latest Varnish3 package.
fetch and transfer http://files.pfsense.org/packages/amd64/8/All/varnish-3.0.4-amd64.pbissh:
pbi_add -f --no-checksig /tmp/varnish-3.0.4-amd64.pbi -
Thanks for the feedback,
I've pushed a fix for the package and seems that only missing thing was a ln -s from gcc to cc.