Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add build instructions #48

Closed
RazrFalcon opened this issue Feb 13, 2018 · 8 comments
Closed

Add build instructions #48

RazrFalcon opened this issue Feb 13, 2018 · 8 comments
Assignees
Labels

Comments

@RazrFalcon
Copy link

Hi! I can't figure out how to build it from sources under Linux. AFAIU, you are using your own build system, which is not very useful.

@igagis igagis self-assigned this Feb 13, 2018
@igagis
Copy link
Member

igagis commented Feb 13, 2018

@RazrFalcon Which linux distribution are you using?

@RazrFalcon
Copy link
Author

Gentoo.

@igagis
Copy link
Member

igagis commented Feb 13, 2018

I have added some hints in wiki, please check https://github.com/igagis/svgren/blob/master/wiki/MainPage.md page. It is quite short, so if you have more questions or unclarities, please ask.

@igagis
Copy link
Member

igagis commented Feb 13, 2018

Also, since you are using non-debian based distro, you will have to install the dependencies somehow manually, or put them in some directory and provide header/library search paths to make:

make CXXFLAGS="-IyourDependencyDir" LDFLAGS="-LyourLibsDir"

should work.

@RazrFalcon
Copy link
Author

Yes. The problem is that most of this dependencies are your own projects. So I can't install them. I have to build them by myself.

What I want is a step-by-step build guide. Like a bash script, which will download and build all your dependencies.

@igagis
Copy link
Member

igagis commented Feb 13, 2018

Yes, many dependencies are my own projects, all of them are here on github. So, yes, building those by yourself is needed in your case. The same approach works for all of those projects, just check prerequisites in debian/control.in and then build those. I have just though that instead of putting them to some directory and providing paths to that you can just use sudo make install, it will copy all the stuff to /usr/local/ and if needed you can uninstall those later using sudo make uninstall.

The build system I use is called prorab (my project) and it is just a single prorab.mk file which is included in all of the makefiles. You can install it in the same way, using sudo make install. Also I use some CI scripts (myci project) and some additional templates for doxygen and pkg-config (prorab-extra project).

Sorry, I don't have plans to write and support a bash script which will download all the dependedncies and build those. Alternatively, I can offer you to volunteer and create a Gentoo packages for all those libs, so that those can be installed in Gentoo in a native way.

@RazrFalcon
Copy link
Author

I see. Thanks.

I'm not interested in a gentoo pkg, because I only wanted to try it out.

When I'll have time I'll try to build it from scratch and if everything would be ok will post a script/instruction.

@igagis igagis added Minor Low priority and removed enhancement labels Sep 26, 2019
@igagis
Copy link
Member

igagis commented Mar 25, 2021

It's been 3 years now, no much interest in this issue has shown up, so, closing.

@igagis igagis closed this as completed Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants