websockets through Squid

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

websockets through Squid

Vieri
I'm also getting this other file that can't be copied:

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:1490: tests/stub_debug.cc] Error 1

Tried "make" and "make -j1", but the error message is the same.

Are you using a specific version of automake?


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

Re: websockets through Squid

Amos Jeffries
Administrator
On 11/10/20 6:13 am, Vieri wrote:

> I'm also getting this other file that can't be copied:
>
> 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:1490: tests/stub_debug.cc] Error 1
>
> Tried "make" and "make -j1", but the error message is the same.
>
> Are you using a specific version of automake?
>


I use automake 1.16 on Debian 11 and do not see this behaviour. Previous
few versions have been the same.


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

Re: websockets through Squid

Alex Rousskov
In reply to this post by Vieri
On 10/10/20 1:13 PM, Vieri wrote:
> I'm also getting this other file that can't be copied:
>
> 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:1490: tests/stub_debug.cc] Error 1
>
> Tried "make" and "make -j1", but the error message is the same.

Try undoing v5 commit 2c0c3d8. That commit (and master 9ba9313) changed
relevant Makefile stub targets from "foo" to "tests/foo", and I
speculate that nothing creates that "tests" directory in your environment.

FWIW, my automake (v1.16.1) does create those "tests" directories. Here
is a snippet from tools/Makefile.in after a successful master-based build:

> tests/$(am__dirstamp):
>         @$(MKDIR_P) tests
>         @: > tests/$(am__dirstamp)


Please keep us posted on your progress. It is possible we need to adjust
something in the official sources to resolve this problem.


Thank you,

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

Re: websockets through Squid

Vieri

Just a quick test and question.

If I manually create the tests subdirs and run make then I get an error such as:

/bin/sh ../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -pipe -D_REENTRANT -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o libdiskio.la  DiskIOModule.lo ReadRequest.lo WriteRequest.lo libtests.la AIO/libAIO.la -lrt Blocking/libBlocking.la DiskDaemon/libDiskDaemon.la DiskThreads/libDiskThreads.la -lpthread IpcIo/libIpcIo.la Mmapped/libMmapped.la
libtool:   error: cannot find the library 'libtests.la' or unhandled argument 'libtests.la'
make[4]: *** [Makefile:868: libdiskio.la] Error 1
make[4]: Leaving directory '/var/tmp/portage/net-proxy/squid-5.0.4/work/squid-5.0.4/src/DiskIO'


This may be a dumb question, but where are the build instructions for libtests.la?
_______________________________________________
squid-users mailing list
[hidden email]
http://lists.squid-cache.org/listinfo/squid-users
Reply | Threaded
Open this post in threaded view
|

Re: websockets through Squid

Alex Rousskov
On 10/11/20 11:03 AM, Vieri wrote:

> If I manually create the tests subdirs and run make then I get an error such as:
>
> /bin/sh ../../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -Wall -Wpointer-arith -Wwrite-strings -Wcomments -Wshadow -Woverloaded-virtual -pipe -D_REENTRANT -O2 -pipe  -Wl,-O1 -Wl,--as-needed -o libdiskio.la  DiskIOModule.lo ReadRequest.lo WriteRequest.lo libtests.la AIO/libAIO.la -lrt Blocking/libBlocking.la DiskDaemon/libDiskDaemon.la DiskThreads/libDiskThreads.la -lpthread IpcIo/libIpcIo.la Mmapped/libMmapped.la
> libtool:   error: cannot find the library 'libtests.la' or unhandled argument 'libtests.la'
> make[4]: *** [Makefile:868: libdiskio.la] Error 1
> make[4]: Leaving directory '/var/tmp/portage/net-proxy/squid-5.0.4/work/squid-5.0.4/src/DiskIO'

Your build environment or procedure is broken or unusual. Unfortunately,
I cannot say more based on the tiny error snippets you have shared so
far. Do you use git sources or bootstrapped tarballs? If you use git, I
would start from scratch and share the complete output of the following
commands:

    git checkout f4ade36
    make -k distclean > /dev/null
    ./bootstrap.sh && ./configure && make -j1


> This may be a dumb question, but where are the build instructions for libtests.la?

AFAICT, that library does not exist in my v5- and master-based builds.
However, you may be able to answer questions like that by searching
bootstrapped sources. For example:

    fgrep -RI libtests /var/tmp/portage/net-proxy/squid-5.0.4


Cheers,

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