Recent

Author Topic: How to install internettools ??  (Read 14197 times)

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
How to install internettools ??
« on: October 06, 2014, 11:06:47 am »
When i install the package from" internettools.lpk" i get a erreur message :
not found "xquery.pas" !! i must install it to ??

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: How to install internettools ??
« Reply #1 on: October 06, 2014, 12:36:00 pm »
xquery.pas(72,12) Fatal: Can not find unit xquery used by simplehtmltreeparser.

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: How to install internettools ??
« Reply #2 on: October 06, 2014, 12:44:03 pm »
I'm wildly guessing this is what you're trying to install

http://www.benibela.de/documentation/internettools/

I note this on the first line:
Quote
Since the Internet Tools and their XQuery-Engine consist of a set of simple Pascal units they do not require installation.


So, it doesn't look to me like you will actually need to to install a package.  Just ensure you have all the required files, and that they are in your project search path.  Hmmm.  But if that was the case, you wouldn't be seeing this error anyway...

Can you confirm if there is a file called xquery.pas somewhere in the collection you downloaded?   Maybe it's a separate download....
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: How to install internettools ??
« Reply #3 on: October 06, 2014, 03:47:50 pm »
i find the file 'xquery.pas' in the path '\internettools\data\ xquery.pas' but i have alaways the erreur message  'xquery.pas not fount'  :(

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: How to install internettools ??
« Reply #4 on: October 06, 2014, 04:03:29 pm »
Try adding that XQuery.pas to the package as a file (Click the Ajouter button).  Once you've added that, you may need to repeat the exercise with a few related files.  If this works, let Benibela know the file is missing from the package.  Going on his documentation, I don't think he expected anyone to actually use the package, so might not have kept it up to date...  (Or, of course, something else is happening...)
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

wp

  • Hero Member
  • *****
  • Posts: 11916
Re: How to install internettools ??
« Reply #5 on: October 06, 2014, 04:13:39 pm »
If I download the internettools from this url (http://www.benibela.de/bin/sources/internettools.zip) there is no problem at all to compile the package internettools.lpk.

magleft

  • Full Member
  • ***
  • Posts: 111
Re: How to install internettools ??
« Reply #6 on: October 06, 2014, 06:59:04 pm »
Do you have added the '\internettools\data\ in paths?
windows 10 64

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: How to install internettools ??
« Reply #7 on: October 06, 2014, 11:40:36 pm »
whay lazarus can't accept uses 'simpleinternet' after installation ???

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: How to install internettools ??
« Reply #8 on: October 06, 2014, 11:47:58 pm »
Well, the biggest clue is in the error.  You have to add the package internettools to your project.

Lazarus - Project - Project Inspector - second add button (Add other) - Second Tab Sheet (Add new requirement), from the dropdown list, choose InternetTools.

UPDATE:  Might be worth reading through the following so you've got an idea of what's happening

http://wiki.freepascal.org/Lazarus_Packages
« Last Edit: October 06, 2014, 11:53:16 pm by Mike.Cornflake »
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

benz8

  • New Member
  • *
  • Posts: 16
  • Hello World
Re: How to install internettools ??
« Reply #9 on: October 07, 2014, 12:04:02 am »
 :D Yep!
it work, Very good
thank's all : Mike.Cornflake, magleft, wp,

coradi

  • Full Member
  • ***
  • Posts: 148
Re: How to install internettools ??
« Reply #10 on: November 03, 2017, 01:22:45 pm »
Hallo,
if I try this I get
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: How to install internettools ??
« Reply #11 on: November 03, 2017, 05:43:48 pm »
Hallo,
if I try this I get

Your screenshot only shows 3 of the 4 warnings.  None of those will cause compilation to fail.  You need to show us what the error is (Fehler I think).  There should be a vertical scrollbar
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

coradi

  • Full Member
  • ***
  • Posts: 148
Re: How to install internettools ??
« Reply #12 on: November 03, 2017, 06:44:19 pm »
ups,  :-)
here it is
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

Mike.Cornflake

  • Hero Member
  • *****
  • Posts: 1260
Re: How to install internettools ??
« Reply #13 on: November 03, 2017, 07:42:53 pm »
ups,  :-)
here it is

Hmmm, could be several things.  I'm not actually all that familiar with the software package.   Where did you download internettools from, and what version of Lazarus/fpc are you using?  When I get a chance (could be a while), I'll download and attempt to reproduce the issue.

In the meantime, I note wp's comment above.  If you downloaded from a different source, could you re-try from this one?
If I download the internettools from this url (http://www.benibela.de/bin/sources/internettools.zip) there is no problem at all to compile the package internettools.lpk.
Lazarus Trunk/FPC Trunk on Windows [7, 10]
  Have you tried searching this forum or the wiki?:   http://wiki.lazarus.freepascal.org/Alternative_Main_Page
  BOOKS! (Free and otherwise): http://wiki.lazarus.freepascal.org/Pascal_and_Lazarus_Books_and_Magazines

coradi

  • Full Member
  • ***
  • Posts: 148
Re: How to install internettools ??
« Reply #14 on: November 03, 2017, 08:23:34 pm »
I loaded it direct from the source, newest Verison.Lazrus newest Version
Amstrad Schneider CPC 6128
AVR8/ARM(STM32)

 

TinyPortal © 2005-2018