Help wanted: building/testing MPM on Un*x machines

Wednesday, 10 August 2005 04:46 by CSchenk

I am looking for volunteers to help building/testing the package manager on Un*x systems. The job description is here:

http://sourceforge.net/people/viewjob.php?group_id=10783&job_id=22872

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Related posts

Comments

August 10. 2005 23:04

Hey, Christian, while I'm not skilled enough to be a good volunteer, I have decided to play around with mpm. So, I had a question about it. If I wanted to use it on a Linux box that already had TeTeX, what would it do? Would it try to install a complete TeX system when I first tried to get a package, or would it recognize that I have parts in /usr/share/texmf and /usr/local/texmf and just grab the extra package I want?

TheMatt

August 11. 2005 12:09

Thanks for your interest! I have written a short article about MPM for Un*x:

dojo.miktex.org/.../mpmunix.aspx

You should note that MiKTeX for Un*x is not (yet) TeX system. Only the package manager is included in the package.

Christian Schenk

August 16. 2005 17:07

Matt Hansen

Are you just looking for someone with a Linux box to download the package and type
'./configure > configurelog.txt ; make > makelog.txt' and send you the results? Or are you looking for someone to fix the problems as well? If you're looking for someone to do the first, contact me at c8o8n8f8t8e8d8@gmail.com (remove the 8s). I don't have time to debug though.

Matt Hansen

August 16. 2005 20:27

Boris

Hi Christian,

I am very excited about MiKTeX making its way to Linux, so it was obvious for me to test it. Here are the partial results:

Build:
======
g++ version: 3.4.4
libcurl version: 7.13.2
bash version: 3.00.16
make version: 3.80

./configure, make, make and make uninstall are running fine. "make install" has two warnings, I have noticed it myself too as a strange thing: it relinks some libraries, relevant part of log follows:

libtool: install: warning: relinking `libmiktex-core.la'
... (the rest is very long, if you want I can post it to you in email)
libtool: install: warning: relinking `libmiktex-packagemanager.la'
... (again quite long)


Usage:
======

mpm --help works Smile
I cant test the main functionality now because I cant make my modem work under Linux, but I will test it as soon as I get to my broadband in Prague.

Cheers until then,
Boris

Boris

August 16. 2005 21:10

Any help is appreciated. configure&make is enough.

Christian Schenk

August 24. 2005 21:12

Ronaldo

Hi,

I was able to compile, but the mpm is finishing with segmentation fault when I try mpm --build-db.

My setup is:

Linux distibution: debian
libcurl version: 7.14.0
gcc version: 3.3.6

Ronaldo

Ronaldo

August 25. 2005 09:30

Ronaldo, thank you for your comment. The segfault has been eliminated by now. I am planning to make a new release later this week, which fixes other issues as well.

Christian Schenk

August 25. 2005 12:42

Morten Høgholm

I have successfully installed the package manager on OS X. Here are the warnings I get when running make:

In file included from allocsa.c:24:
allocsa.h:98: warning: use of `long double' type; its size may change in a future release
allocsa.h:98: warning: (Long double usage is reported only once for each file.
allocsa.h:98: warning: To disable this warning, use -Wno-long-double.)
config.cpp:810:4: warning: #warning Unimplemented: SessionImpl::SetConfigValue()
config.cpp:843:4: warning: #warning Unimplemented: SessionImpl::SharedMiKTeXSetup()
config.cpp:872:4: warning: #warning Unimplemented: SessionImpl::IsSharedMiKTeXSetup()
path.cpp:315:4: warning: #warning Unimplemented: Utils::MakeTeXPathName()
texmfroot.cpp:163:4: warning: #warning Unimplemented: SessionImpl::GetMiKTeXDirectLocalRoot()
texmfroot.cpp:414:4: warning: #warning Unimplemented: SessionImpl::RegisterRootDirectories()
unx/unx.cpp:121:4: warning: #warning Unimplemented: SessionImpl::GetPsFontDirs
unx/unx.cpp:133:4: warning: #warning Unimplemented: SessionImpl::GetPsTtfDirs
unx/unx.cpp:238:4: warning: #warning Unimplemented: FileIsOnROMedia()

Do any of these message look familiar? I have a log file of the whole make and configure processes if you're interested.

I tried to install a package and here's what I get:

Mortens-Ibook:~/Desktop/mpmtest/miktex-2.5.2045-snapshot mortenhoegholm$ sudo mpm --install=breakurl --verbose
starting package installation...
installation directory: "/users/mortenhoegholm/Library/texmf/"
package repository: "ftp://ftp.kreonet.re.kr/pub/CTAN/systems/win32/miktex/tm/packages/"
DBlight digest: b7de30be35561f0c9af2befeed8247d5
estimating expenditure...
downloading: 22688 bytes
installing: 5 files (1 packages)
downloading "ftp://ftp.kreonet.re.kr/pub/CTAN/systems/win32/miktex/tm/packages/breakurl.cab"...
22688 bytes, 1107.81 KB/Sec
extracting files from "breakurl.cab"...
mpm: fndb is invariable

The extraction finishes as it should but then there's that message.

Morten Høgholm

August 25. 2005 17:21

Morten, thank you. The warnings can be ignored (for the moment). The fndb issue has been fixed in the meantime.

Christian Schenk

October 4. 2005 05:21

Helge Baumann

Hi Christian,

I managed to build 2.5-2064-beta-1 on Mac OS X 10.4.2.
The only change is in file lib/miktex.cpp, line 870
defaultLocale (),

defaultLocale ("") throws an error, because "" is an undefined locale.

from g++ 4.0 local_classes.h:
/**
* @brief Default constructor.
*
* Constructs a copy of the global locale. If no locale has been
* explicitly set, this is the "C" locale.
*/
locale() throw();

/**
* @brief Named locale constructor.
*
* Constructs a copy of the named C library locale.
*
* @param s Name of the locale to construct.
* @throw std::runtime_error if s is null or an undefined locale.
*/
explicit
locale(const char* __s);

Bye
Helge

Helge Baumann

October 5. 2005 14:05

Thank you Helge! I have applied the patch to the Beta 2 source code.

Christian Schenk

October 6. 2005 09:48

I was to quick with my response. Calling the locale constructor with an empty string is perfectly legal. It means: "the user's preferred locale".

Christian Schenk

October 7. 2005 03:13

Helge Baumann

Yes, you're right (got my STL book back ...).
But on my Mac, mpm crashes with locale("") Frown
I'll have to take further investigatoins, now, with the book, again.

Helge Baumann

July 14. 2006 03:44

I've built MiKTeX (miktex-tools-2.5.2199-beta-4) on Mac OS X 10.4.6/Xcode 2.3 without any problems. I didn't need to modify any code to build it. Works like a charm.

I posted details on my weblog at

homepage.mac.com/.../index.html

Next, I'd like to build MiKTeX on Solaris 10 with GCC from www.sun.com/download/products.xml?id=43fb4c75
No luck yet, but I'm new to Solaris 10.

ernie rothman

Comments are closed