PDA

View Full Version : [ubuntu] Compiling .tar.gz MailReactor source



geidorei
May 20th, 2011, 05:04 PM
Hi having some issues here - trying to install MailRector

extracted etc - type in make and it says:

c++ -I../fltk-1.0.6 -O2 -c MailReact.cxx
In file included from MailReact.cxx:4:0:
sfl.h:229:80: fatal error: iostream.h: No such file or directory
compilation terminated.
make: *** [MailReact.o] Error 1

Any ideas folks???????

Thanks, Karl

geidorei
May 20th, 2011, 05:44 PM
Follow up to thsi - in case it was me, tried to install another .tar.gz called watsup - this is what i got

g++ -O3 -g -Wall -c `pkg-config --cflags gtk+-2.0` -o watsup.o watsup-1.9.cc
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
In file included from watsup-1.9.cc:27:0:
zfuncs.h:257:21: fatal error: gtk/gtk.h: No such file or directory
compilation terminated.
make: *** [watsup.o] Error 1

gtk+-2.0 is installed

Whats going on, more to the point what do I need to do???? ahhhhh!

Karl

geidorei
May 20th, 2011, 06:35 PM
...and after more investigation - according to ubuntu docs i should try running ./configure - configure does not exist, not can I apt-get it.

oldos2er
May 20th, 2011, 06:40 PM
Is this it? http://www.daansystems.com/mailreactor/
That's a very old program, if I were you I'd look in the repositories for something a little more up-to-date.


sfl.h:229:80: fatal error: iostream.h: No such file or directoryapt-cache search iostream shows several packages; libpstreams-dev looks like it might be the one you need.


No package 'gtk+-2.0' foundDo you have libgtk2.0-dev installed?

https://help.ubuntu.com/community/CompilingEasyHowTo

https://help.ubuntu.com/community/CompilingSoftware

geidorei
May 20th, 2011, 07:03 PM
Hi Thanks for info.

Installed libpstreams-dev and libgtk2.0-dev - no luck, same error.

Why is installing tar.gz programs so piggin difficult??????

geidorei
May 20th, 2011, 07:32 PM
right then, think now sorted.

I sorta cheated here, pulled down the dropbox.tar.gz - as dropbox is available via a .deb i assumed that their tar.gz would be aok. I was right.

ran ./configure and it told me to install (did via synaptic) - python-docutils and libnautilus-extension- dev

re-ran ./configure all aok, then make - and it worked.

All I can say is that sometimes its really hard work with linux. But I aint going back to windows, thats for sure.

geidorei
May 20th, 2011, 07:33 PM
ok i tell a lie - too early.

Managed to get watsup to work but no chance with MailRecator.

bugger!

geidorei
May 20th, 2011, 07:36 PM
as anote, again this is what it says on trying to make MailReactor:

c++ -I../fltk-1.0.6 -O2 -c MailReact.cxx
In file included from MailReact.cxx:4:0:
sfl.h:229:80: fatal error: iostream.h: No such file or directory
compilation terminated.
make: *** [MailReact.o] Error 1

oldos2er
May 21st, 2011, 01:06 AM
Hi Thanks for info.

Installed libpstreams-dev and libgtk2.0-dev - no luck, same error.

Why is installing tar.gz programs so piggin difficult??????

You're trying to compile 12 year old code. Many things have changed in that time.

geidorei
May 22nd, 2011, 09:40 PM
Hi ummm. yes i realise now, why has this person still got this avilable to download??? ummmm