I think those errors are just a change from previous gcc versions.
You didn't mention which
compiler yu are using. I saw the same problem on MacOSX using gcc-4.2
(32-bit build). See:.
<http://osdir.com/ml/linux.debian.devel.games.devel/2007-04/msg00005.html>
for a discussion. A number the mpm headers needed extra included if <memory>.
The binaries run but die with an something like "unknown error"
message (I'm not near
the OS X system). I've seen this error before -- I think the build
system tries to store
a list of TEXMF directories which may not match the run-time
configuration if you happen
to do test install of TL2008 while figuring out how to compile mpm.
Why do you have to recompile mpm? Is it lack of 32-bit runtime libs
or does the old binary
run into problems?
If I can get mpm to run I will create a patch with the added #includes.
On Thu, Jul 3, 2008 at 8:00 AM, Hendrik Maryns
<hendrik.maryns@...> wrote:
> (another try, sorry for duplicates)
>
> Hi,
>
> I recently upgraded to openSUSE 11.0, and I have to recompile MPM. This
> doesn't work. First, I get the following from cmake:
>
> # cmake -G "Unix Makefiles"
> CMake Warning (dev) at Libraries/MiKTeX/Core/CMakeLists.txt:43
> (add_definitions):
> Policy CMP0005 is not set: Preprocessor definition values are now
> escaped
> automatically. Run "cmake --help-policy CMP0005" for policy details.
> Use
> the cmake_policy command to set the policy and suppress this warning.
> This warning is for project developers. Use -Wno-dev to suppress it.
>
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /usr/local/miktex-2.7.2960
>
> But this didn't sound too harmful, so I continued with 'make', which
> gives, after a while:
> In file included from
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/CommandLine.cpp:24:
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1425: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1425: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1426: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1426: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1427: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1427: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1428: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1428: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1429: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1429: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1430: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1430: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1431: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1431: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1432: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1432: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1433: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1433: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1434: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1434: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1435: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1435: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1436: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1436: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1437: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1437: error:
> expected ';' before '<' token
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1438: error:
> ISO C++ forbids declaration of 'auto_ptr' with no type
> /usr/local/miktex-2.7.2960/Libraries/MiKTeX/Core/internal.h:1438: error:
> expected ';' before '<' token
> make[2]: ***
> [Libraries/MiKTeX/Core/CMakeFiles/MiKTeX207-core.dir/CommandLine.o] Fout 1
> make[2]: Map '/usr/local/miktex-2.7.2960' wordt verlaten
> make[1]: *** [Libraries/MiKTeX/Core/CMakeFiles/MiKTeX207-core.dir/all]
> Fout 2
> make[1]: Map '/usr/local/miktex-2.7.2960' wordt verlaten
> make: *** [all] Fout 2
>
> Any suggestions?
>
> Thanks, H.
>
> --
> Hendrik Maryns
> Herrenberger Straße 40
> D-72070 Tübingen
> +49707143783
> http://tcl.sfs.uni-tuebingen.de/~hendrik/
> =================
> http://www.lieverleven.be Hier kan iedereen wat van leren.
> http://aouw.org Art Of Urban Warfare
>
>
>
> -------------------------------------------------------------------------
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> _______________________________________________
> MiKTeX-Users mailing list
> MiKTeX-Users@...
> https://lists.sourceforge.net/lists/listinfo/miktex-users
>
--
George N. White III <aa056@...>
Head of St. Margarets Bay, Nova Scotia
|