C++2LaTeX is a small program that produces configurable LaTeX output from a C++ file.
Created attachment 4397 [details] The ebuild files
I put this ebuild under app-text, since tetex is there. It depends on virtual/glibc and app-text/tetex.
Hi there! This ebuild doesn't seem to work under GCC 3.2. Could you make sure that the parameters to configure are correct? I suspect there are includes or dependencies missing.
From main.cpp: #include <iostream> #include <stdlib.h> #include <string> #include <fstream> #include <vector> #include <stdio.h> It shouldn't have any library dependencies, but when 1.4 is released I'll fix any problems that may remain. Could you give me a more complete problem report? Actually, the src_unpack and src_compile functions shouldn't do anything non-standard. You could try removing them and see how that goes.
Created attachment 5024 [details] cpp2latex-2.1-r1 This is a new revision that includes a patch to fix several problems.
Created attachment 5047 [details] error log for -r1 Here is the error log I get with GCC 3.2 with -r1. GCC 3.0+ is more strict with includes and declarations... I think this might be a factor. Is this project big enough to send a request upstream?
See if a using namespace std; right after the headers in main.cpp helps; if not, you'll probably have to contact the author.
Ok, we'll hold off on this. I'm not closing the bug; just putting it under LATER until the maintainer makes it compile. Seems to be a bit more than a simple patch would fix...
Created attachment 6869 [details] cpp2latex 2.2 ebuild I've fixed the problems with gcc 3.2 and changed to version 2.2 (all previous versions are removed).
Had to make a few basic changes to the ebuild, like adding src_compile. Anyway, it's committed. Thanks for the hard work on getting to compile with GCC 3!
db fix