static compilation

15 views
Skip to first unread message

sandro dentella

unread,
Dec 4, 2008, 11:01:14 AM12/4/08
to VisualNetkit
Hi,

I'd need to make it possible to use VisualNetkit to people that do
not yet have libqt4.4 (namely ubuntu 8.04 or possibly 7.10). Would it
be possible to compile VisualNetkit statically? how big would it be?

I know nothing of c++ and compilation in general, I'd appreciate if
some could tell me how to modify the Makefile to get static binaries.


thanks

sandro
*:-)

slux

unread,
Dec 4, 2008, 3:04:20 PM12/4/08
to VisualNetkit
Hi sandro,

make VisualNetkit statically compiled is possible. You have to compile
Qt4.4 with the static support (see configure --help) and then you can
compile statically the VisualNetkit and all its plugins..

To compile a program statically, just need the "- static" clausole
inside the CFLAGS and CXXFLAGS.
I think that the final size (without debug symbols) will be about 10
Mbyte or less.

If you have troubles, at the start of the next week you'll find the
compiled stuff (statically) on the google code page ;)

Bye Bye!

Alessandro Dentella

unread,
Dec 4, 2008, 3:45:02 PM12/4/08
to visual...@googlegroups.com
> If you have troubles, at the start of the next week you'll find the
> compiled stuff (statically) on the google code page ;)

I don't want to seem too lazy, but I think I'll wait some more days...
one day or another I'll decide to learn enought C/c++ not to feel always a
stranger...

thanks
sandro
*:-)

--
Sandro Dentella *:-)
e-mail: san...@e-den.it
http://sqlkit.argolinux.org SQLkit home page - PyGTK/python/sqlalchemy

slux

unread,
Dec 5, 2008, 4:59:05 PM12/5/08
to VisualNetkit
here http://code.google.com/p/visual-netkit/downloads/list you can
find the binary stuffs compiled statically!
I think this is very experimental... take it as a test, nothing else

Bye


On 4 Dic, 21:45, Alessandro Dentella <san...@e-den.it> wrote:
> > If you have troubles, at the start of the next week you'll find the
> > compiled stuff (statically) on the google code page ;)
>
> I don't want to seem too lazy, but I think I'll wait some more days...
> one day or another I'll decide to learn enought C/c++ not to feel always a
> stranger...
>
> thanks
> sandro
> *:-)
>
> --
> Sandro Dentella  *:-)
> e-mail: san...@e-den.ithttp://sqlkit.argolinux.org       SQLkit home page - PyGTK/python/sqlalchemy

Alessandro Dentella

unread,
Dec 10, 2008, 1:32:21 PM12/10/08
to visual...@googlegroups.com
On Fri, Dec 05, 2008 at 01:59:05PM -0800, slux wrote:
>
> here http://code.google.com/p/visual-netkit/downloads/list you can
> find the binary stuffs compiled statically!
> I think this is very experimental... take it as a test, nothing else
>
> Bye


Thanks a lot! I tested it on an ubuntu 8.04 (where only qt 4.3 was
available) and it just worked.

sandro
*:-)

slux

unread,
Dec 10, 2008, 4:55:07 PM12/10/08
to VisualNetkit


On 10 Dic, 19:32, Alessandro Dentella <san...@e-den.it> wrote:
>
> Thanks a lot! I tested it on an ubuntu 8.04 (where only qt 4.3 was
> available) and it just worked.
>
> sandro
> *:-)

You're welcome! But remeber to start visualnetkit.sh script to set
correctly the environment variable of plugins directory!
Reply all
Reply to author
Forward
0 new messages