Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of path segments not supported in this build of libEST. #99

Open
dieselnutjob opened this issue Mar 1, 2021 · 6 comments
Open

Use of path segments not supported in this build of libEST. #99

dieselnutjob opened this issue Mar 1, 2021 · 6 comments

Comments

@dieselnutjob
Copy link

Hi
I am trying to use estclient in an environment where I have no control of the server (it's provided by another company).
The other company has given me this URI
https://aserver/.well-known/est/astring/simpleenroll

from this I deduce that I need to use this command
./estclient -e -s aserver --path-seg astring -p 443 -h apassword -o /tmp

however I get this error:-

EST [ERROR][est_client_set_server:4644]--> Use of path segments not supported in this build of libEST.

Have I understood this correctly and is there anything that I can do about this?

@rpb5bnc
Copy link
Contributor

rpb5bnc commented Mar 1, 2021 via email

@dieselnutjob
Copy link
Author

Just to let you know that I am working on this.
Right now I hate Oracle Linux 8 and I hate rpm bases distros

entering extended mode
(./refman.tex
LaTeX2e <2017-04-15>
Babel <3.17> and hyphenation patterns for 3 language(s) loaded.
(/usr/share/texlive/texmf-dist/tex/latex/base/book.cls
Document Class: book 2014/09/29 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/bk10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/tools/calc.sty) (./doxygen.sty
(/usr/share/texlive/texmf-dist/tex/latex/base/alltt.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/array.sty)
(/usr/share/texlive/texmf-dist/tex/latex/float/float.sty)
(/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty)
(/usr/share/texlive/texmf-dist/tex/latex/tools/verbatim.sty)
(/usr/share/texlive/texmf-dist/tex/latex/xcolor/xcolor.sty
(/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/color.cfg)
(/usr/share/texlive/texmf-dist/tex/latex/graphics-def/pdftex.def)
(/usr/share/texlive/texmf-dist/tex/latex/colortbl/colortbl.sty))

! LaTeX Error: File `xtab.sty' not found.

Type X to quit or to proceed,
or enter new name. (Default extension: sty)

Enter file name:

@rpb5bnc
Copy link
Contributor

rpb5bnc commented Mar 5, 2021

refman.libest.pdf

I completely understand how you feel. I built the latest reference manual for LibEST 3.2.0p and uploaded here.

Pete

@dieselnutjob
Copy link
Author

dieselnutjob commented Mar 6, 2021

Thanks. As it goes after posting I managed to compile the manual quite easily on my personal Manjaro system and I'm pretty sure it would have been even easier on a Debian based system. This is purely because if you are missing a command and want to know what package to install to get it it's so much easier with these systems.

Anyway.

As a result of all this I started looking for uriparser and uriparser-devel on the Oracle 8 box.

I came across this link which seems to suggest that uriparser is deprecated in EL8 and I can't help thinking that this will be a "problem" if libest is ever going to be properly accepted and supported by any EL vendor.

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html-single/7.9_release_notes/index

Would it be possible to add some uriparser code into libest itself so that use of another library isn't necessary? It someone was ever going to make an rpm installer of libest wouldn't that make it easier to package maintain and more likely to be officially taken up? I'm not a C developer so apologies if that's silly in some way.

@dieselnutjob
Copy link
Author

I can't currently compile uriparser from source either.
My first attempt resulted in complaints about no gtest
The only gtest and gtest-devel packages I could find were from Fedora EPEL for EL7, none for EL8, so I went with those.

Now I get

[ 97%] Linking CXX executable testrunner
CMakeFiles/testrunner.dir/test/MemoryManagerSuite.cpp.o: In function testing::Message::GetString() const': MemoryManagerSuite.cpp:(.text._ZNK7testing7Message9GetStringEv[_ZNK7testing7Message9GetStringEv]+0x2a): undefined reference to testing::internal::StringStreamToString(std::__cxx11::basic_stringstream<char, std::char_traits, std::allocator >*)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/testrunner.dir/build.make:356: testrunner] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/testrunner.dir/all] Error 2
make: *** [Makefile:141: all] Error 2

@rpb5bnc
Copy link
Contributor

rpb5bnc commented Mar 8, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants