How to edit component? lazarus / 13-General ---------------------------------------------------------------------- leo_bs · 2010-01-22 06:30 Hi. I was need SSL, but I don't found it in TMySQL50Connection. Then I wrote it by myself. I added functions into mysqlconn.inc and properties into sqldb.pp, recompiled Lazarus with packages, but my properties are not visible in Object Inspector... why? I type my properties like others... Where is the error? Please help. Thank you. ---------------------------------------------------------------------- marcov · 2010-01-22 14:15 1. Are they in the published section? 2. If that file is part of fpc, not lazarus, did you recompile FPC before you recompiled Lazarus? ---------------------------------------------------------------------- leo_bs · 2010-01-22 18:59 ... 1 - yes - properties in published section ... 2 - I edited component from FCL -> FPC recompilation needed? ---------------------------------------------------------------------- leo_bs · 2010-01-22 21:05 I don't understand what I should do to see my own properties in standard FCL component? What and how I should recompile? Step-by-step... I already read Free Pascal Programmer’s Guide, Appendix F, but it's obsolete... Please help if u can... === How to recompile FPC with all libraries? ---------------------------------------------------------------------- marcov · 2010-01-22 22:39 Yes FCL belongs to FPC, not Lazarus. Have a look at: http://www.stack.nl/~marcov/buildfaq.pdf ---------------------------------------------------------------------- leo_bs · 2010-01-26 00:27 I read Build FAQ... I use Ubuntu 9.10 and Lasarus&FPC was installed from repository. (FPC v.2.2.4) I tried 'make clean', 'make all', 'fpc..' and other commands, but it's no any acceptable result... (as root, and as simple user - no matter) Command 'fpc fpmake.pp' gives a result, commands with 'make' - no. I can't recompile fpc... sources fpc are in /usr/share/fpcsrc/2.2.4 compiler are in /usr/lib/fpc/2.2.4 I can't understand where I was mistaken... ? If I edited FCL-component - I must compile it first of all? Did I must recompile the compiler? Maybe only FCL-library?.. Or not?.. I'm quite confused... :/ ---------------------------------------------------------------------- Leledumbo · 2010-01-27 03:19 QuoteI tried 'make clean', 'make all', 'fpc..' and other commands, but it's no any acceptable result... Do you even have make installed? If yes, where do you call it? It must be called in top directory of fpc source. i.e. in your case, the prompt must be something like this: $/usr/share/fpcsrc/2.2.4: ---------------------------------------------------------------------- leo_bs · 2010-01-27 06:56 yes, I tried. make returns: make: *** No rule to make target `install '. Stop. In this directory no any files, but only three subdirectories: 'compiler', 'packages', 'rtl' I tried as simple user, as sudo, as root... no matter - the same result... With what kind of files 'make' works? I just never work with 'make'...