ozmake --config

Filip Konvička filip.konvicka.removethisantispamtoken at logis.cz
Thu May 25 16:37:30 CEST 2006


Kevin Glynn (25.5.2006 16:25):
> Fredrik Kronlid writes:
>  > 
>  > Hello, I'm having problems with configuring ozmake, using
>  > 
>  > '$ ozmake --config=put --prefix=c:/Oz/packages'
>  > 
>  > under cygwin on w2k. ozmake answers by reporting about the freshly created
>  > direcories, and indeed, the subdirectories are created. The configuration
>  > doesn't seem to 'stick'. When subsequently invoking ozmake with
>  > 
>  > '$ ozmake --config=list'
>  > 
>  > nothing happens. When running
>  > 
>  > '$ ozmake --install'
>  > 
>  > the files to install are installed in the standard location (c:/Documennts
>  > and Settings/kronlid/.oz). I need to change the prefix to be able to
>  > include the <PREFIX>/bin directory in my PATH, cygwin/w2k doesn't seem to
>  > like blanks in the PATH.
> 
> I am sure there is a way to do this.  have you tried double quotes
> around the path?
> 
>  > 
>  > Or is this the intended behaviour? It seems like the config information is
>  > stored in <PREFIX>/apps/ozmake/config.db, and I can't really see how the
>  > config information could be found if located elsewhere than the default
>  > location. IF this is the intended behaviour, I don't see the usefulness
>  > of configuring the prefix.
>  > 
> 
> As you have noticed you are successfully updating your prefix in the
> new place,  but there is no way to tell oz to use this new place ...
> 
> It is odd because the documentation for ozmake uses setting --prefix
> as its example.  Can anyone throw any more light on this?
> 
> 
> cheers
> k
> 
>  
> 

I have used
   ozmake --install -p somepackage.pkg "--prefix=C:\Program Files\Mozart"
many times, successfully. Using the 8.3 filenames, C:\Progra~1\Mozart, 
would work too:
   for %i in ("C:\Program Files\Mozart") do ozmake --install -p 
somepackage.pkg --prefix=%~si
(use double % in batch files.)

Cheers,
Filip




More information about the mozart-users mailing list