Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2022-01

Where can I find working code for xidel and dependencies

3 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Bo Berglund

I have been adviced to use xidel to analyze the content of websites, so when searcing for it I found that it is a FreePascal utility with the sources on GitHub.
https://www.videlibri.de/xidel.html
So I tried to get it going.
Buit when I tried to compile the utility using Lazarus 2.0.12/FPC 3.2.0 it failed to find package "internettools".
After some searching I found it on GitHub:
https://github.com/benibela/internettools

But still no luck, I get errors when trying to compile the internettools package:
Compile package internettools 0.0: Exit code 1, Errors: 1, Warnings: 2 bbutils.pas(1060,15) Warning: Symbol "strDecodeUTF8Character" is deprecated: "Use (pchar,pchar) overload or strIterator."
bbutils.pas(5890,13) Warning: Symbol "strEncodeHex" is deprecated xquery.internals.common.pas(434,80) Fatal: Cannot find PasDblStrUtils used by xquery.internals.common of package internettools.
Compile package internettools 0.0: Exit code 1, Errors: 1, Warnings: 2 bbutils.pas(1060,15) Warning: Symbol "strDecodeUTF8Character" is deprecated: "Use (pchar,pchar) overload or strIterator."
bbutils.pas(5890,13) Warning: Symbol "strEncodeHex" is deprecated xquery.internals.common.pas(434,80) Fatal: Cannot find PasDblStrUtils used by xquery.internals.common of package internettools.

Has anyone here successfully managed to build xidel, if so what is the recepy?

Bo Berglund Developer in Sweden

Reply by email

Bo Berglund
to Bo Berglund
Bo Berglund wrote 12 lines
I have been adviced to use xidel to analyze the content of websites, so when searcing for it I found that it is a FreePascal utility with the sources on GitHub. https://www.videlibri.de/xidel.html So I tried to get it going. Buit when I tried to compile the utility using Lazarus 2.0.12/FPC 3.2.0 it failed to find package "internettools". After some searching I found it on GitHub: https://github.com/benibela/internettools But still no luck, I get errors when trying to compile the internettools package

UPDATE:
-------
After trying to fix this I decided to search for binaries and found them here: https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/ These I believe are all for PC style CPU:s....

So I will not need to build it myself unless I want to run it on a RaspberryPi of course.

Bo Berglund Developer in Sweden

Reply by email

Benito van der Zander
to Bo Berglund

Hi,

xquery.internals.common.pas(434,80) Fatal: Cannot find PasDblStrUtils used by xquery.internals.common of package internettools.

that is here: github.com/bero1985/pasdblstrutils

Download src/PasDblStrUtils.pas. Do not clone the repository when you have a slow internet connection

It only became a dependency last week. You could look at the last internettools commits and undo them

And you will also need FLRE, which has a fork here: github.com/benibela/flre

Linux also requires Synapse

After trying to fix this I decided to search for binaries and found them here: https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/ These I believe are all for PC style CPU:s....

Do not use those, they are 3 years old

The recent builds are: at
https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%20development/

Best,
Benito

Bo Berglund wrote 24 lines
On Sun, 09 Jan 2022 17:46:00 +0100, Bo Berglund via fpc-pascal wrote: > I have been adviced to use xidel to analyze the content of websites, so when > searcing for it I found that it is a FreePascal utility with the sources on > GitHub. > https://www.videlibri.de/xidel.html > So I tried to get it going. > Buit when I tried to compile the utility using Lazarus 2.0.12/FPC 3.2.0 it > failed to find package "internettools". > After some searching I found it on GitHub: > https://github.com/benibela/internettools > > But still no luck, I get errors when trying to compile the internettools > package UPDATE: ------- After trying to fix this I decided to search for binaries and found them here: https://sourceforge.net/projects/videlibri/files/Xidel/Xidel%200.9.8/ These I believe are all for PC style CPU:s.... So I will not need to build it myself unless I want to run it on a RaspberryPi of course.

Reply by email