When i Commit ,the deimos project crashes.... Im using gentoo with kernel 2.6.24-gentoo-r8. I compiled Deimos 0.57 with these options: --with-wx-config CFLAGS="-march=athlon-xp" CXXFLAGS="-march=athlon-xp" CHOST="i686-pc-linux-gnu"
And here is the output in konsole:
cappy@cappy-gentoo ~/Sources/Deimos/deimos-0.57 $ deimos
22:10:44: Client 0.57 starting...
22:10:44: Deleted stale lock file '/home/cappy/Deimos-cappy'.
22:10:44: Starting input-thread
22:10:44: Loaded snapshots file, it contained 3 snapshots
22:10:47: Creating new snapshot, duration: 3
22:10:47: Written 4 snapshots to snapshots file, hash: 0E8C38BCCC2A84CBD0B94671D264DCC4
Segmentation fault
It would be better if you can include bash script to do: "cat /etc/*-release" instead of /etc/issue.net and print it to the other part in program. I dont know C/C++, if i did i would make it.
There is the distro name. I changed the source code to search there the name of distro.(just for me)
#if defined(__LINUX__)
// I'm not using wxFile or wxFFile because those can't just read the first line
// TODO: Make it use lsb_release
FILE *fp = fopen("/etc/gentoo-release", "r"
if ( fp )
etc....
And here is the output of /etc/gentoo-release:
Gentoo Base System release 1.12.11.1
I found the package, for gentoo users you should include sys-apps/lsb-release as dependency. emerge sys-apps/lsb-release to install it. If you need something about gentoo ask me.