Forum > Third party

ct2laz - convertor between CodeTyphon and Lazarus

<< < (2/12) > >>

verasan:
Hello!!!
your tool sounds good but what about version for linux?

avra:

--- Quote from: verasan on July 01, 2015, 08:26:00 pm ---what about version for linux?
--- End quote ---
When I catch time again I will try to integrate it with fpcup and then I will need to make it work on Linux too. There is nothing Windows specific in it so conversion shouldn't be too hard. If you take a look at the source you can find this:

--- Code: ---  // linux: sh -c " whole commandline" (not tested yet)
  // OurProcess.Executable := '/bin/sh';
  // OurProcess.Parameters.Add('-c');
  // OurProcess.Parameters.Add('7z  -y x %COMPONENTS typhon/components/* -r -o%UNPACKDIR');
--- End code ---
so I did think about linux. When time comes you will just need to install p7zip first with your package manager. I will probably default to 7zr instead and parameters will probably be different, but you get the picture. ct2laz should work with Wine, so I don't think that many folks will be eager for linux version and that's why it's not high on my priority list right now. If someone wants to take a bite on his own, be my guest and share a patch. ;)

avra:
I am asking for help to make this tool compile under linux.

After removing all CodeTyphon specific components my next move was to try to compile ct2laz under linux (Mint Cinammon Debian Edition with official Laz 1.6.2 and FPC 3.0.0), but I am stuck and need help.

First on compilation I get this error:

--- Quote ---Compile Project, Target: ct2laz: Exit code 256, Errors: 1, Warnings: 1
Warning: Recompiling dynlibs, checksum changed for dl {impl}
openssl.pas(85,3) Fatal: Cannot find dynlibs used by openssl. Make sure all ppu files of a package are in its output directory. ppu in wrong directory=/usr/lib/fpc/3.0.0/units/i386-linux/rtl/dynlibs.ppu..

--- End quote ---

If I then locate dynlibs.pas and add it as a project requirement file I get this:

--- Quote ---Compile Project, Target: ct2laz: Exit code 256, Errors: 1
strings.pp(109,2) Fatal: Cannot open include file "strings.inc"

--- End quote ---

After adding I386 version of strings.inc file I get such strange compilation errors that it was clear I am on wrong path.

Can anyone help?  ;) %) ;)



--- Quote ---    HISTORY:
    0.9.5.154 Lazarus version is now default (if you want CT version then convert project with it's executable:)
    0.9.5.151 removed CodeTyphon specific components, show message on CSV file missing
    0.9.1.136 initial public release

--- End quote ---

Leledumbo:

--- Quote from: avra on January 04, 2017, 01:41:39 am ---I am asking for help to make this tool compile under linux.

After removing all CodeTyphon specific components my next move was to try to compile ct2laz under linux (Mint Cinammon Debian Edition with official Laz 1.6.2 and FPC 3.0.0), but I am stuck and need help.

--- End quote ---
I've forked your repo. I'll see what I can do.

avra:

--- Quote from: Leledumbo on January 04, 2017, 08:43:19 am ---I've forked your repo. I'll see what I can do.
--- End quote ---
Thank you very much! Any help is most appreciated.   :D

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version