Recent

Author Topic: Online Package Manager  (Read 836048 times)

Windsurfer

  • Sr. Member
  • ****
  • Posts: 368
    • Windsurfer
Re: Online Package Manager
« Reply #1560 on: March 12, 2019, 10:16:06 am »
Thanks for OPM. It is a fantastically useful tool.
I found that BareGame has a few missing files, and reported it to the author.

silvestre

  • Jr. Member
  • **
  • Posts: 76
Re: Online Package Manager
« Reply #1561 on: March 12, 2019, 10:46:03 am »
Yes, the OPM is a fantastic tool that makes things much easier. Good work and congratulations. :)

I don't know if it would be a good idea for the authors to provide 2 or 3 screenshots of their applications, to add a plus of visual information to the packages.

Thanks for OPM. It is a fantastically useful tool.
I found that BareGame has a few missing files, and reported it to the author.

Thausand

  • Sr. Member
  • ****
  • Posts: 292
Re: Online Package Manager
« Reply #1562 on: April 05, 2019, 10:35:15 am »
I problem online package manager install synapse. Give error see http://forum.lazarus-ide.org/index.php/topic,44339.0.html

1) I download diff and fix LazarusDir/config/onlinepackagemanager/packages/synapse40.1/synaser.pas

2) Back Lazarus online package manager check Synapse but problem circle.

3) Click install, then download .zip, extract.zip and compile online package manager. But extract zip overwrite fix :'(

Back 1 circle.

I read help online package manager but i not read solution or i not understand good help.

Some know how fix circle online package manager ?

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1563 on: April 05, 2019, 11:21:45 am »
@Thausand

I updated the central repository with the latest version of synapse, patch for synaser included. Now everthing should work fine. Please test.

Thausand

  • Sr. Member
  • ****
  • Posts: 292
Re: Online Package Manager
« Reply #1564 on: April 05, 2019, 11:37:00 am »
@Thausand

I updated the central repository with the latest version of synapse, patch for synaser included. Now everthing should work fine. Please test.
You hero GetMem !!!

Now get new error (i not have look how fix)
Code: [Select]
Free Pascal Compiler version 3.0.4-r37149 [2019/03/13] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling laz_synapse.pas
(3104) Compiling asn1util.pas
(3104) Compiling synautil.pas
$HOME/bin/lazarus/02000000/config/onlinepackagemanager/packages/synapse40.1/jedi.inc(611,4) Error: (2050) Illegal assembler style specified "INTEL"
(3104) Compiling synafpc.pas
$HOME/bin/lazarus/02000000/config/onlinepackagemanager/packages/synapse40.1/synafpc.pas(103,1) Fatal: (10026) There were 1 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: $HOME/bin/fpc/3.0.4/bin/arm-linux/ppcarm returned an error exitcode
I read if is report error and fix forum or read code what wrong and fix.

Thanks you


add:

I think is read same thread http://forum.lazarus.freepascal.org/index.php/topic,44339.msg311625.html#msg311625
rvk write:
Quote
The only asm-command in the Synapse library is in synaser.pas and it is surrounded by IFDEF WIN32. So for Linux versions, no asm is ever used. So you can safely delete that {$ASMMODE Intel} line in jedi.inc.

add:

I check and is true. jedi.inc wrong modeasm. I read rest ok not use INTEL for CPUARM. Only INTEL for mswindows file synaser.pas.

Maybe if have time when fit then fix you or i ask how fix online package manager and i make fix ?
« Last Edit: April 05, 2019, 12:10:56 pm by Thausand »

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1565 on: April 05, 2019, 12:14:16 pm »
I will fix in OPM. Can you please archive(zip) the modified jedi.inc(the one that works on your system), then attach to your next post ?

Thausand

  • Sr. Member
  • ****
  • Posts: 292
Re: Online Package Manager
« Reply #1566 on: April 05, 2019, 01:09:44 pm »
hello thank you GetMem

I not sure if work. I need synapse compiling Lazarus Mailing List Reader. Package Synaser compile and that work and program Reader work. That ok. I not test any other.

I make comment in jedi.inc why change. Must make better, is CPUASM also define. I think that no good but i no see use. smell code = smell fix  :)

Many thanks fix synaser Online Package Manager

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1567 on: April 05, 2019, 03:31:41 pm »
@Thausand
You're welcome.

I did a quick test, your modification works fine(jedi.inc), so I updated OPM. Please also test the changes on your system.

Thausand

  • Sr. Member
  • ****
  • Posts: 292
Re: Online Package Manager
« Reply #1568 on: April 05, 2019, 04:32:20 pm »
@GetMem:
Package install good. see log. Can use for compile project. I happy  :)

I give many thanks you quick fix  8-)

I play synapse and if get error i try fix and make post.

Code: [Select]
Hint: (11030) Start of reading config file /home/pi/bin/fpc/3.0.4/bin/etc/fpc.cfg
Hint: (11031) End of reading config file /home/pi/bin/fpc/3.0.4/bin/etc/fpc.cfg
Free Pascal Compiler version 3.0.4-r37149 [2019/03/13] for arm
Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for ARMHF
(3104) Compiling laz_synapse.pas
(3104) Compiling asn1util.pas
(3104) Compiling synautil.pas
(3104) Compiling synafpc.pas
synafpc.pas(81,28) Hint: (5024) Parameter "Module" not used
synafpc.pas(81,48) Hint: (5024) Parameter "Buffer" not used
synafpc.pas(81,63) Hint: (5024) Parameter "BufLen" not used
(9009) Assembling synafpc
synautil.pas(637,96) Warning: (5043) Symbol "TimeSeparator" is deprecated
synautil.pas(707,27) Hint: (5057) Local variable "x" does not seem to be initialized
synautil.pas(1981,3) Note: (5027) Local variable "BackStop" is assigned but never used
synautil.pas(2121,88) Warning: (5043) Symbol "ShortMonthNames" is deprecated
synautil.pas(2122,87) Warning: (5043) Symbol "ShortMonthNames" is deprecated
synautil.pas(89,22) Hint: (5023) Unit "synafpc" not used in synautil
(9009) Assembling synautil
asn1util.pas(333,18) Warning: (5089) Local variable "s" of a managed type does not seem to be initialized
asn1util.pas(468,32) Hint: (5057) Local variable "at" does not seem to be initialized
(9009) Assembling asn1util
(3104) Compiling blcksock.pas
(3104) Compiling synsock.pas
ssfpc.inc(713,40) Hint: (5091) Local variable "he" of a managed type does not seem to be initialized
ssfpc.inc(714,26) Warning: (5043) Symbol "HostToNet" is deprecated
ssfpc.inc(822,34) Hint: (5091) Local variable "he" of a managed type does not seem to be initialized
ssfpc.inc(824,18) Warning: (5043) Symbol "HostToNet" is deprecated
ssfpc.inc(411,50) Hint: (5024) Parameter "SockProtocol" not used
ssfpc.inc(411,64) Hint: (5024) Parameter "SockType" not used
ssfpc.inc(413,36) Hint: (5024) Parameter "Family" not used
ssfpc.inc(413,58) Hint: (5024) Parameter "SockType" not used
ssfpc.inc(884,25) Warning: (5043) Symbol "NetToHost" is deprecated
ssfpc.inc(884,44) Hint: (5091) Local variable "a" of a managed type does not seem to be initialized
ssfpc.inc(412,38) Hint: (5024) Parameter "Family" not used
ssfpc.inc(412,46) Hint: (5024) Parameter "SockProtocol" not used
ssfpc.inc(412,60) Hint: (5024) Parameter "SockType" not used
ssfpc.inc(77,30) Hint: (5024) Parameter "stack" not used
ssfpc.inc(75,3) Hint: (5023) Unit "synafpc" not used in synsock
(9009) Assembling synsock
(3104) Compiling synacode.pas
synacode.pas(1101,19) Hint: (5057) Local variable "MDContext" does not seem to be initialized
synacode.pas(1123,19) Hint: (5057) Local variable "MDContext" does not seem to be initialized
synacode.pas(1145,19) Hint: (5057) Local variable "MDContext" does not seem to be initialized
synacode.pas(1205,31) Hint: (5057) Local variable "W" does not seem to be initialized
synacode.pas(1295,14) Hint: (5028) Local type "Pinteger" is not used
synacode.pas(1329,23) Hint: (5057) Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1351,23) Hint: (5057) Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1373,23) Hint: (5057) Local variable "SHA1Context" does not seem to be initialized
synacode.pas(1459,19) Hint: (5057) Local variable "MDContext" does not seem to be initialized
(9009) Assembling synacode
(3104) Compiling synaip.pas
(9009) Assembling synaip
blcksock.pas(362,33) Hint: (5024) Parameter "Stub" not used
blcksock.pas(1825,17) Hint: (5057) Local variable "sin" does not seem to be initialized
blcksock.pas(1842,15) Hint: (5057) Local variable "sin" does not seem to be initialized
blcksock.pas(1907,15) Hint: (5057) Local variable "Sin" does not seem to be initialized
blcksock.pas(1927,13) Hint: (5057) Local variable "Sin" does not seem to be initialized
blcksock.pas(2639,46) Hint: (5057) Local variable "x" does not seem to be initialized
blcksock.pas(3012,16) Hint: (5057) Local variable "FDSet" does not seem to be initialized
blcksock.pas(1248,35) Hint: (5024) Parameter "Host" not used
blcksock.pas(1289,25) Hint: (5024) Parameter "Buffer" not used
blcksock.pas(1289,42) Hint: (5024) Parameter "Len" not used
blcksock.pas(1294,25) Hint: (5024) Parameter "Buffer" not used
blcksock.pas(1294,42) Hint: (5024) Parameter "Len" not used
blcksock.pas(4376,47) Hint: (5058) Variable "WsaDataOnce" does not seem to be initialized
(9009) Assembling blcksock
(3104) Compiling clamsend.pas
(9009) Assembling clamsend
(3104) Compiling dnssend.pas
(9009) Assembling dnssend
(3104) Compiling ftpsend.pas
(9009) Assembling ftpsend
(3104) Compiling ftptsend.pas
(9009) Assembling ftptsend
(3104) Compiling httpsend.pas
httpsend.pas(403,64) Hint: (5091) Local variable "Para" of a managed type does not seem to be initialized
httpsend.pas(403,58) Hint: (5091) Local variable "Path" of a managed type does not seem to be initialized
httpsend.pas(403,52) Hint: (5091) Local variable "Port" of a managed type does not seem to be initialized
httpsend.pas(403,46) Hint: (5091) Local variable "Host" of a managed type does not seem to be initialized
httpsend.pas(403,40) Hint: (5091) Local variable "Pass" of a managed type does not seem to be initialized
httpsend.pas(403,34) Hint: (5091) Local variable "User" of a managed type does not seem to be initialized
httpsend.pas(403,28) Hint: (5091) Local variable "Prot" of a managed type does not seem to be initialized
(9009) Assembling httpsend
(3104) Compiling imapsend.pas
(9009) Assembling imapsend
(3104) Compiling ldapsend.pas
ldapsend.pas(723,24) Hint: (5057) Local variable "Svt" does not seem to be initialized
ldapsend.pas(988,28) Hint: (5057) Local variable "xt" does not seem to be initialized
ldapsend.pas(1151,38) Hint: (5057) Local variable "x" does not seem to be initialized
ldapsend.pas(1222,33) Hint: (5057) Local variable "xt" does not seem to be initialized
(9009) Assembling ldapsend
(3104) Compiling mimeinln.pas
(3104) Compiling synachar.pas
(3104) Compiling synaicnv.pas
(9009) Assembling synaicnv
synachar.pas(1145,42) Hint: (5057) Local variable "b4" does not seem to be initialized
synachar.pas(1145,38) Hint: (5057) Local variable "b3" does not seem to be initialized
synachar.pas(1145,34) Hint: (5057) Local variable "b2" does not seem to be initialized
synachar.pas(1145,30) Hint: (5057) Local variable "b1" does not seem to be initialized
synachar.pas(1262,42) Hint: (5057) Local variable "b4" does not seem to be initialized
synachar.pas(1262,38) Hint: (5057) Local variable "b3" does not seem to be initialized
synachar.pas(1262,34) Hint: (5057) Local variable "b2" does not seem to be initialized
synachar.pas(1262,30) Hint: (5057) Local variable "b1" does not seem to be initialized
synachar.pas(1329,33) Hint: (5057) Local variable "SourceTable" does not seem to be initialized
synachar.pas(1340,40) Hint: (5057) Local variable "b4" does not seem to be initialized
synachar.pas(1340,36) Hint: (5057) Local variable "b3" does not seem to be initialized
synachar.pas(1340,32) Hint: (5057) Local variable "b2" does not seem to be initialized
synachar.pas(1340,28) Hint: (5057) Local variable "b1" does not seem to be initialized
synachar.pas(1393,37) Hint: (5091) Local variable "ucsstring" of a managed type does not seem to be initialized
synachar.pas(1419,35) Hint: (5057) Local variable "TargetTable" does not seem to be initialized
synachar.pas(1447,29) Hint: (5091) Local variable "t" of a managed type does not seem to be initialized
(9009) Assembling synachar
(9009) Assembling mimeinln
(3104) Compiling mimemess.pas
(3104) Compiling mimepart.pas
(9009) Assembling mimepart
(9009) Assembling mimemess
(3104) Compiling nntpsend.pas
(9009) Assembling nntpsend
(3104) Compiling pingsend.pas
pingsend.pas(337,3) Note: (5025) Local variable "b" not used
pingsend.pas(430,30) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
pingsend.pas(479,3) Hint: (5028) Local const "SIO_ROUTING_INTERFACE_QUERY" is not used
pingsend.pas(481,3) Note: (5025) Local variable "ICMP6Ptr" not used
pingsend.pas(482,3) Note: (5025) Local variable "s" not used
pingsend.pas(483,3) Note: (5025) Local variable "b" not used
pingsend.pas(484,3) Note: (5025) Local variable "ip6" not used
pingsend.pas(485,3) Note: (5025) Local variable "x" not used
pingsend.pas(137,24) Hint: (5024) Parameter "Value" not used
pingsend.pas(142,38) Hint: (5024) Parameter "Host" not used
pingsend.pas(87,32) Hint: (5023) Unit "synafpc" not used in pingsend
(9009) Assembling pingsend
(3104) Compiling pop3send.pas
(9009) Assembling pop3send
(3104) Compiling slogsend.pas
(9009) Assembling slogsend
(3104) Compiling smtpsend.pas
(9009) Assembling smtpsend
(3104) Compiling snmpsend.pas
(3104) Compiling synacrypt.pas
synacrypt.pas(77,23) Hint: (5024) Parameter "Key" not used
synacrypt.pas(1693,16) Hint: (5057) Local variable "t" does not seem to be initialized
synacrypt.pas(1994,14) Hint: (5057) Local variable "tk" does not seem to be initialized
synacrypt.pas(1992,3) Note: (5025) Local variable "n" not used
synacrypt.pas(69,32) Hint: (5023) Unit "synafpc" not used in synacrypt
(9009) Assembling synacrypt
snmpsend.pas(558,56) Hint: (5057) Local variable "Svt" does not seem to be initialized
snmpsend.pas(813,19) Hint: (4079) Converting the operands to "Int64" before doing the add could prevent overflow errors.
snmpsend.pas(1172,60) Hint: (5091) Local variable "s" of a managed type does not seem to be initialized
snmpsend.pas(1160,3) Note: (5027) Local variable "col" is assigned but never used
(9009) Assembling snmpsend
(3104) Compiling sntpsend.pas
sntpsend.pas(309,13) Hint: (5057) Local variable "q" does not seem to be initialized
sntpsend.pas(338,13) Hint: (5057) Local variable "q" does not seem to be initialized
(9009) Assembling sntpsend
(3104) Compiling synadbg.pas
synadbg.pas(60,51) Hint: (5023) Unit "synafpc" not used in synadbg
(9009) Assembling synadbg
(3104) Compiling synamisc.pas
synamisc.pas(114,21) Hint: (5024) Parameter "protocol" not used
(9009) Assembling synamisc
(3104) Compiling synaser.pas
synaser.pas(2332,39) Warning: (4110) range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
synaser.pas(2334,34) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
synaser.pas(2342,41) Warning: (4110) range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
synaser.pas(2344,34) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
synaser.pas(2351,40) Warning: (4110) range check error while evaluating constants (4294967295 must be between -2147483648 and 2147483647)
synaser.pas(2353,34) Hint: (4035) Mixing signed expressions and longwords gives a 64bit result
synaser.pas(119,3) Hint: (5023) Unit "synafpc" not used in synaser
(9009) Assembling synaser
(3104) Compiling tlntsend.pas
tlntsend.pas(110,26) Hint: (5024) Parameter "Sender" not used
(9009) Assembling tlntsend
laz_synapse.pas(10,3) Hint: (5023) Unit "asn1util" not used in laz_synapse
laz_synapse.pas(10,23) Hint: (5023) Unit "clamsend" not used in laz_synapse
laz_synapse.pas(10,33) Hint: (5023) Unit "dnssend" not used in laz_synapse
laz_synapse.pas(10,42) Hint: (5023) Unit "ftpsend" not used in laz_synapse
laz_synapse.pas(10,51) Hint: (5023) Unit "ftptsend" not used in laz_synapse
laz_synapse.pas(10,61) Hint: (5023) Unit "httpsend" not used in laz_synapse
laz_synapse.pas(11,3) Hint: (5023) Unit "imapsend" not used in laz_synapse
laz_synapse.pas(11,13) Hint: (5023) Unit "ldapsend" not used in laz_synapse
laz_synapse.pas(11,23) Hint: (5023) Unit "mimeinln" not used in laz_synapse
laz_synapse.pas(11,33) Hint: (5023) Unit "mimemess" not used in laz_synapse
laz_synapse.pas(11,53) Hint: (5023) Unit "nntpsend" not used in laz_synapse
laz_synapse.pas(11,63) Hint: (5023) Unit "pingsend" not used in laz_synapse
laz_synapse.pas(12,3) Hint: (5023) Unit "pop3send" not used in laz_synapse
laz_synapse.pas(12,13) Hint: (5023) Unit "slogsend" not used in laz_synapse
laz_synapse.pas(12,23) Hint: (5023) Unit "smtpsend" not used in laz_synapse
laz_synapse.pas(12,33) Hint: (5023) Unit "snmpsend" not used in laz_synapse
laz_synapse.pas(12,43) Hint: (5023) Unit "sntpsend" not used in laz_synapse
laz_synapse.pas(12,63) Hint: (5023) Unit "synacode" not used in laz_synapse
laz_synapse.pas(13,3) Hint: (5023) Unit "synacrypt" not used in laz_synapse
laz_synapse.pas(13,23) Hint: (5023) Unit "synafpc" not used in laz_synapse
laz_synapse.pas(13,42) Hint: (5023) Unit "synaip" not used in laz_synapse
laz_synapse.pas(13,50) Hint: (5023) Unit "synamisc" not used in laz_synapse
laz_synapse.pas(13,60) Hint: (5023) Unit "synaser" not used in laz_synapse
laz_synapse.pas(14,12) Hint: (5023) Unit "tlntsend" not used in laz_synapse
(9009) Assembling laz_synapse
(1008) 32922 lines compiled, 7.0 sec
(1021) 10 warning(s) issued
(1022) 114 hint(s) issued
(1023) 9 note(s) issued

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1569 on: April 05, 2019, 05:21:10 pm »
Quote
I play synapse and if get error i try fix and make post.
OK. Thanks for the feedback. 

fliegermichl

  • New member
  • *
  • Posts: 7
Re: Online Package Manager
« Reply #1570 on: April 11, 2019, 03:55:09 pm »
Hello,

is it possible to add the famous GLScene package to the list of packages in the Onlinepackagemanager?

regards
Michael

balazsszekely

  • Guest
Re: Online Package Manager
« Reply #1571 on: April 11, 2019, 05:24:29 pm »
Hi Michael,

Quote
is it possible to add the famous GLScene package to the list of packages in the Onlinepackagemanager?
Yes, if it compiles with Lazarus 2.0/FPC 3.0.4 and there are no licensing issues. From where can I download/test the package?

regards
GetMem

fliegermichl

  • New member
  • *
  • Posts: 7
Re: Online Package Manager
« Reply #1572 on: April 12, 2019, 04:38:13 pm »
Hi Getmem,

i will check that out and test it with at least Windows and Linux since i have no Mac.
if it is ok i send you further informations

thanks in advance
Michael

fliegermichl

  • New member
  • *
  • Posts: 7
Re: Online Package Manager
« Reply #1573 on: April 12, 2019, 07:44:26 pm »
Hi Getmem

The licence is the Mozilla Public Licence

On Ubuntu Linux i can compile it without errors but i have to install some packages

Code: [Select]
sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev libxxf86vm-dev

On Windows it compiles without errors.

You can download it via svn with
Code: [Select]
svn checkout https://svn.code.sf.net/p/glscene/code/branches/GLSceneLCL GLSceneLCL

regards
Michael

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Online Package Manager
« Reply #1574 on: April 13, 2019, 06:22:42 pm »
GetMem, could you please update laz_synapse package by adding ssl_openssl.pas and ssl_openssl_lib.pas to the package?

They are part of the synapse lib but unfotunately not part of the synapse package. Without them I can not compile pl_synapsevs package. Old lpk had them.

Regards,
Avra
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018