Saturday, March 01, 2025

Re: port of CodeLite

Hi Stuart!

Thank you so much. I've been able to build CodeLite from source code thanks to the port you gave me. The only issue I had was that I had to install sqlite3 from ports because the version installed from the package manager was sqlite3.37.30 instead of sqlite3.37.31 and I don't know why because I've updated both system base (to -CURRENT) and ports (using pkg_add -u) as described in the FAQ and OpenBSD guides (I did it yesterday afternoon).

I didn't have any problem running it on OpenBSD although I'll be testing some time. I didn't realize how difficult it was to build from source because when I started using it (four years ago) I started from the precompiled binaries available on the website so I'm sorry for that. 

NOTE: The problem you had with x11/wxWidgets,-media were caused for some dependency using the wxMediaCtrl (I had that problem too when I built from source code, but I don't remember if the problem was caused by the program or maybe a submodule).

So, thank you so much for your help. You saved me a lot of time.

El mié, 26 feb 2025 a las 16:01, Stuart Henderson (<stu@spacehopper.org>) escribió:
On 2025/02/22 11:02, Guillermo Bernaldo de Quiros Maraver wrote:
> Hi, good morning!
>
> If possible, I would like to port CodeLite into OpenBSD using the guidelines described in the
> FAQ (https://www.openbsd.org/faq/ports/guide.html).
>
> Currently, I've built and installed the current version of github (which is 18.1.0) following
> the build instructions of the codelite web site. I've had some problems with the cmake files
> and some parts of the source code but nothing too complicated.
>
> The software works fine (with minor changes as I said before). I've been using it for assembly,
> C and C++ development both for embedded systems and servers mainly. It's easy to use and has
> some useful plugins (like git integration) which makes it easy to work with. The problem I have
> is I have to rebuild the software after an upgrade (I use OpenBSD -CURRENT) and that process
> takes a lot of time (nearly 3/4 hours) so I would like to install/update it using pkg_add
> instead of rebuilding from source code.
>
> So my question is, is anyone working on it? I don't see any entry in the ports / packages, if
> not, I would like to try to port it. (I don't have experience porting software into OpenBSD so
> I understand this process will take a lot of time).
>
> If no one is working on the port, I'm interested in giving it a try.
>
> Thank you so much in advance!
> Guille

It's a bit awkward because of the git submodules so I made a start at
writing a port to help out with that, but got carried away and got it
to build.

Seems to run OK in very light testing but I haven't tried anything fancy..

Not sure what's going on with x11/wxWidgets,-media; compiling fails if
the header isn't available but it doesn't seem to either link to or dlopen
the library.

No comments:

Post a Comment