compilation error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

compilation error

neok
Hi everyone, I don't know if you can help me with this. I´m trying to compile SQUID beta 5.0.4 on Debian 10 but I get an error:

cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
make[3]: *** [Makefile:1518: tests/stub_debug.cc] Error 1
make[3]: Leaving directory '/root/squid-5.0.4/tools/squidclient'
make[2]: *** [Makefile:1049: all-recursive] Error 1
make[2]: Leaving directory '/root/squid-5.0.4/tools/squidclient'
make[1]: *** [Makefile:1191: all-recursive] Error 1
make[1]: Leaving directory '/root/squid-5.0.4/tools'
make: *** [Makefile:591: all-recursive] Error 1

I attach the script:
./configure --prefix=/opt/squid-504 --includedir=/include --mandir=/share/man --infodir=/share/info --localstatedir=/opt/squid-504/var --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --enable-inline --enable-async-io --enable-storeio=ufs,aufs,diskd --enable-removal-policies=lru,heap --enable-delay-pools --enable-cache-digests --enable-underscores --enable-icap-client --enable-follow-x-forwarded-for --enable-auth-basic=fake,LDAP --enable-auth-digest=file,LDAP --enable-auth-negotiate=kerberos,wrapper --enable-external-acl-helpers=file_userip,kerberos_ldap_group,LDAP_group --enable-arp-acl --enable-esi--disable-translation --with-logdir=/var/log/squid-504 --with-pidfile=/var/run/squid-504.pid --with-filedescriptors=65536 --with-large-files --with-default-user=proxy --enable-linux-netfilter --enable-ltdl-convenience --with-openssl --enable-ssl --enable-ssl-crtd

make && make install

Any help would be welcome, thank you very much.

Greetings
Gabriel

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

Amos Jeffries
Administrator
On 15/09/20 6:34 am, Service MV wrote:
> Hi everyone, I don't know if you can help me with this. I´m trying to
> compile SQUID beta 5.0.4 on Debian 10 but I get an error:
>

Is this ocurring in a fresh download of the sources tarball? or fetched
via some other method?

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

neok
Fresh download of source code in a fresh server.


El lun., 14 sep. 2020 18:02, Amos Jeffries <[hidden email]> escribió:
On 15/09/20 6:34 am, Service MV wrote:
> Hi everyone, I don't know if you can help me with this. I´m trying to
> compile SQUID beta 5.0.4 on Debian 10 but I get an error:
>

Is this ocurring in a fresh download of the sources tarball? or fetched
via some other method?

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

neok

El lun., 14 sep. 2020 18:04, Service MV <[hidden email]> escribió:
Fresh download of source code in a fresh server.


El lun., 14 sep. 2020 18:02, Amos Jeffries <[hidden email]> escribió:
On 15/09/20 6:34 am, Service MV wrote:
> Hi everyone, I don't know if you can help me with this. I´m trying to
> compile SQUID beta 5.0.4 on Debian 10 but I get an error:
>

Is this ocurring in a fresh download of the sources tarball? or fetched
via some other method?

Amos
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

Amos Jeffries
Administrator
In reply to this post by neok
On 15/09/20 9:04 am, Service MV wrote:
> Fresh download of source code in a fresh server.
>

Thanks. Looks like I've got some more digging to do on this issue.


It should work okay if you use "make -j1" for the build stage.

Amos

>
> El lun., 14 sep. 2020 18:02, Amos Jeffries escribió:
>
>     On 15/09/20 6:34 am, Service MV wrote:
>     > Hi everyone, I don't know if you can help me with this. I´m trying to
>     > compile SQUID beta 5.0.4 on Debian 10 but I get an error:
>     >
>
>     Is this ocurring in a fresh download of the sources tarball? or fetched
>     via some other method?
>
>     Amos
>     _______________________________________________
>     squid-users mailing list
>     [hidden email]
>     <mailto:[hidden email]>
>     http://lists.squid-cache.org/listinfo/squid-users
>
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

L.P.H. van Belle
Hai Amos,

Just a small question. If i may hop in this thread.

Based on TP starter, i also took a 5.0.4 to build on debian, i build in pbuilder/cowbuilder env.

I first attempted to build and that errored on time_quote.
I found that i had to add libtdb-dev to the build depends in debian/control
And now its building, only Im ending with this eror. (ideas?)


x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\"   -I../.. -I../../include -I../../lib -I../../src -I../../include  -isystem /usr/include/mit-krb5  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/build/squid-5.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o Transport.o Transport.cc
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
make[4]: *** [Makefile:1518: tests/stub_debug.cc] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[3]: *** [Makefile:1049: all-recursive] Error 1
make[3]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[2]: *** [Makefile:1191: all-recursive] Error 1
make[2]: Leaving directory '/build/squid-5.0.4/tools'
make[1]: *** [Makefile:591: all-recursive] Error 1
make[1]: Leaving directory '/build/squid-5.0.4'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I: copying local configuration

This part,
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc'

I checked for : tests/stub_debug.cc its there..
So why this is, i dont know. (yet)

How i make the packages.
I get the sid sources, get latest squid-caches sources.
Copy the debian folder in the new, update where needed,refreshed patches,
and mostl of the time, i hardly need to change things.
Squid 4.13 runs great, and was done in the same way.

Only thing i miss/dont know is, how can i find which packages are needed,to build squid,
based on the new sources.tar.gz of squid. I think i still miss a package but im not sure here.

Thanks in advance, Amos.
Great work on squid on debian you doing.
Its a long time ago squid errored in building and im doing this since 3.x.x :-)


Greetz,

Louis



> -----Oorspronkelijk bericht-----
> Van: squid-users
> [mailto:[hidden email]] Namens
> Amos Jeffries
> Verzonden: maandag 14 september 2020 23:38
> Aan: Service MV
> CC: Squid Users
> Onderwerp: Re: [squid-users] compilation error
>
> On 15/09/20 9:04 am, Service MV wrote:
> > Fresh download of source code in a fresh server.
> >
>
> Thanks. Looks like I've got some more digging to do on this issue.
>
>
> It should work okay if you use "make -j1" for the build stage.
>
> Amos
>
> >
> > El lun., 14 sep. 2020 18:02, Amos Jeffries escribió:
> >
> >     On 15/09/20 6:34 am, Service MV wrote:
> >     > Hi everyone, I don't know if you can help me with
> this. I´m trying to
> >     > compile SQUID beta 5.0.4 on Debian 10 but I get an error:
> >     >
> >
> >     Is this ocurring in a fresh download of the sources
> tarball? or fetched
> >     via some other method?
> >
> >     Amos
> >     _______________________________________________
> >     squid-users mailing list
> >     [hidden email]
> >     <mailto:[hidden email]>
> >     http://lists.squid-cache.org/listinfo/squid-users
> >
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
>

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: compilation error

Eliezer Croitoru-3
I will try to test 5.0.4 build on couple local OS's.

It seems that at-least CentOS 8 is showing the same issue.

Eliezer
----
Eliezer Croitoru
Tech Support
Mobile: +972-5-28704261
Email: [hidden email]

-----Original Message-----
From: squid-users <[hidden email]> On Behalf Of L.P.H. van Belle
Sent: Tuesday, September 15, 2020 11:16 AM
To: [hidden email]
Subject: Re: [squid-users] compilation error

Hai Amos,

Just a small question. If i may hop in this thread.

Based on TP starter, i also took a 5.0.4 to build on debian, i build in pbuilder/cowbuilder env.

I first attempted to build and that errored on time_quote.
I found that i had to add libtdb-dev to the build depends in debian/control
And now its building, only Im ending with this eror. (ideas?)


x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -DDEFAULT_CONFIG_FILE=\"/etc/squid/squid.conf\" -DDEFAULT_SQUID_DATA_DIR=\"/usr/share/squid\" -DDEFAULT_SQUID_CONFIG_DIR=\"/etc/squid\"   -I../.. -I../../include -I../../lib -I../../src -I../../include  -isystem /usr/include/mit-krb5  -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/libxml2 -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -Werror -pipe -D_REENTRANT -I/usr/include/libxml2 -I/usr/include/p11-kit-1 -g -O2 -fdebug-prefix-map=/build/squid-5.0.4=. -fstack-protector-strong -Wformat -Werror=format-security -c -o Transport.o Transport.cc
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc': No such file or directory
make[4]: *** [Makefile:1518: tests/stub_debug.cc] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[3]: *** [Makefile:1049: all-recursive] Error 1
make[3]: Leaving directory '/build/squid-5.0.4/tools/squidclient'
make[2]: *** [Makefile:1191: all-recursive] Error 1
make[2]: Leaving directory '/build/squid-5.0.4/tools'
make[1]: *** [Makefile:591: all-recursive] Error 1
make[1]: Leaving directory '/build/squid-5.0.4'
make: *** [/usr/share/cdbs/1/class/makefile.mk:77: debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
I: copying local configuration

This part,
cp ../../src/tests/stub_debug.cc tests/stub_debug.cc
cp: cannot create regular file 'tests/stub_debug.cc'

I checked for : tests/stub_debug.cc its there..
So why this is, i dont know. (yet)

How i make the packages.
I get the sid sources, get latest squid-caches sources.
Copy the debian folder in the new, update where needed,refreshed patches,
and mostl of the time, i hardly need to change things.
Squid 4.13 runs great, and was done in the same way.

Only thing i miss/dont know is, how can i find which packages are needed,to build squid,
based on the new sources.tar.gz of squid. I think i still miss a package but im not sure here.

Thanks in advance, Amos.
Great work on squid on debian you doing.
Its a long time ago squid errored in building and im doing this since 3.x.x :-)


Greetz,

Louis



> -----Oorspronkelijk bericht-----
> Van: squid-users
> [mailto:[hidden email]] Namens
> Amos Jeffries
> Verzonden: maandag 14 september 2020 23:38
> Aan: Service MV
> CC: Squid Users
> Onderwerp: Re: [squid-users] compilation error
>
> On 15/09/20 9:04 am, Service MV wrote:
> > Fresh download of source code in a fresh server.
> >
>
> Thanks. Looks like I've got some more digging to do on this issue.
>
>
> It should work okay if you use "make -j1" for the build stage.
>
> Amos
>
> >
> > El lun., 14 sep. 2020 18:02, Amos Jeffries escribió:
> >
> >     On 15/09/20 6:34 am, Service MV wrote:
> >     > Hi everyone, I don't know if you can help me with
> this. I´m trying to
> >     > compile SQUID beta 5.0.4 on Debian 10 but I get an error:
> >     >
> >
> >     Is this ocurring in a fresh download of the sources
> tarball? or fetched
> >     via some other method?
> >
> >     Amos
> >     _______________________________________________
> >     squid-users mailing list
> >     [hidden email]
> >     <mailto:[hidden email]>
> >     http://lists.squid-cache.org/listinfo/squid-users
> >
> _______________________________________________
> squid-users mailing list
> [hidden email]
> http://lists.squid-cache.org/listinfo/squid-users
>

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users

_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users