Indy, Ubuntu 10.4 64 bit installation problems lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- stevep414 · 2010-06-05 07:35 Has anyone successfully installed Indy (I'll take any version at this point) on a system similar to the one described in the subject line?  I have installed Lazarus/fpc via the source repositories; they install to their default locations and both appear to work. I have tried installing Indy via instructions from the site and the forum.  I run into errors depending which route I use, but eventually I am able to get the components to show up on the panel.   The problem I then have is when dropping a component on a form, I will get an access violation and Lazarus will crash. I'd be happy to hear of anyone else's success in this area and their steps for making it happen.  Is it possible that design time components don't work and I'll just have to code everything?  That is okay,  I just need to know so I stop wasting time and can move on. Thanks in advance for any/all help, Steve steve.puma@att.net ---------------------------------------------------------------------- cpalx · 2010-06-05 08:26 I used Indy in Ubunu 9.10 (64 bits) and lazarus 0.9.28 with diferents feelings: 1. Several components works fine 2. Some components dont work as you wanted, for example try to use ipwatch, works perfectly in Windows but in Linux does not. ---------------------------------------------------------------------- stevep414 · 2010-06-05 10:55 When you say some components didn't work, do you mean the same problem I have where dropping it on the form caused an access violation, or did you have a different problem? I had the same type of problems with the Ubuntu 9.10 64 bit as well and have never tried on 32 bit. ---------------------------------------------------------------------- cpalx · 2010-06-05 13:38 My problem is different, all components i drop normally. But some components dont work as in windows version ---------------------------------------------------------------------- thierrybo · 2010-06-05 13:51 Hi, just tried from all Indy panes-buttons in 64 and 32 bit Ubuntu, I can confirm that alls these buttons raise an exception for drag and drop in Ubuntu 64 bit only : Indy Server Protocols (AM) : all buttons Indy Server Protocols (NZ) : all buttons Indy Server Mapped port : all buttons Indy Client Core   TIdiPMCastClient   Indy Server - Core   TIdSimplerServer   TIdTCPServer Same Ubuntu 64 bits 9.10/10.04 ---------------------------------------------------------------------- stevep414 · 2010-06-05 14:32 Thanks theirrybo, I'll create a 23 bit Ubuntu VM and do my development that and see how it goes.  I appreciate you identifying that for us! Steve ---------------------------------------------------------------------- theo · 2010-06-06 01:12 If you use synapse, the job is done in the time you waste for installing Indy ;-) ---------------------------------------------------------------------- stevep414 · 2010-06-20 12:28 I have started to look at synapse and will probably add that to my toolkit as well - it can never hurt to have more tools to do a job.  I just became focused on making Indy work in Linux because everything says it should. The lessons learned are this: 1. Linux has to be a 32 bit version (in my case, Ubuntu 10.4 in a Virtual Machine guest) 2. Use the installation instructions from the Wiki where you copy everything into the Lazarus directory and be sure to do this as root using gksudo to launch Lazarus. 3. Run Lazarus as root, again using gksudo to launch, when programming with Indy. 4. Remove the ifdef around cthreads in the source code (leave the cthreads there, but remove ifdef surrounding it). After I have done this, most of the Indy components seem to work.  Alas, it may also be easier and cleaner to simply code w/o the visual components. I'd be interested to know what kind of projects people are working on with Indy, or Synapse for that matter, as it seems like the documentation is sparse and there is a high learning curve.  My current project is this: I want to use the IdMappedPortTCP component to send traffic from a remote client on an internal network over the Internet to my server.  I also want to add encryption.  I have been able to mock-up the port- forwarding part, and I am now looking at how to add the encryption component.  I know this seems pretty simplistic, but being able to do this should create an easy and transparent alternative for customers at a remote location and keep the network guys out of the equation (so I don't have to wait for them to build VPN tunnels so that the applications can communicate securely). Thanks for the help everyone  - I look forward to hearing what others are doing. Steve ---------------------------------------------------------------------- marcov · 2010-07-05 11:33 Quote from: theo on June 06, 2010, 03:12:01 amIf you use synapse, the job is done in the time you waste for installing Indy ;-) Does it finally support all protocols indy does then? For me that was the main reason to go Indy.