Taglib in wrong path

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Taglib in wrong path

orione1974
My develop machine is Windows 7 32 bit with MinGW. When I build "taglib" CMake try to install "taglib" in the wrong folder "C:/Program
  Files/taglib/include/taglib". how to change the configuration?

$ ./cerbero-uninstalled build taglib
WARNING: Using default configuration because C:/MinGW/msys/1.0/home/mikol/.cerbero/cerbero.cbc is missing
Building the following recipes: taglib
[(1/1) taglib -> fetch ]
-----> Step done
[(1/1) taglib -> extract ]
-----> Step done
[(1/1) taglib -> configure ]
-----> Step done
[(1/1) taglib -> compile ]
-----> Step done
[(1/1) taglib -> install ]
Running command 'make install'
[ 49%] Built target tag
[ 99%] Built target tag_static
[100%] Built target tag_c
Install the project...
-- Install configuration: ""
-- Up-to-date: C:/Program Files/taglib/include/taglib/taglib_config.h
CMake Error at cmake_install.cmake:39 (FILE):
  file INSTALL cannot set permissions on "C:/Program
  Files/taglib/include/taglib/taglib_config.h"


make: *** [install] Error 1
***** Error running 'build' command:
Recipe 'taglib' failed at the build step 'install'



Fabrizio Ciavatta
------------------------

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Taglib in wrong path

orione1974
I solved with:

cd cerbero/sources/windows_x86/taglib-1.7.2

cmake -DCMAKE_INSTALL_PREFIX=$HOME/cerbero/dist/windows_x86/ -DCMAKE_RELEASE_TYPE=Release

make

make install
 


Regards

Fabrizio Ciavatta
------------------------



2012/11/15 Orione1974 <[hidden email]>
My develop machine is Windows 7 32 bit with MinGW. When I build "taglib" CMake try to install "taglib" in the wrong folder "C:/Program
  Files/taglib/include/taglib". how to change the configuration?

$ ./cerbero-uninstalled build taglib
WARNING: Using default configuration because C:/MinGW/msys/1.0/home/mikol/.cerbero/cerbero.cbc is missing
Building the following recipes: taglib
[(1/1) taglib -> fetch ]
-----> Step done
[(1/1) taglib -> extract ]
-----> Step done
[(1/1) taglib -> configure ]
-----> Step done
[(1/1) taglib -> compile ]
-----> Step done
[(1/1) taglib -> install ]
Running command 'make install'
[ 49%] Built target tag
[ 99%] Built target tag_static
[100%] Built target tag_c
Install the project...
-- Install configuration: ""
-- Up-to-date: C:/Program Files/taglib/include/taglib/taglib_config.h
CMake Error at cmake_install.cmake:39 (FILE):
  file INSTALL cannot set permissions on "C:/Program
  Files/taglib/include/taglib/taglib_config.h"


make: *** [install] Error 1
***** Error running 'build' command:
Recipe 'taglib' failed at the build step 'install'



Fabrizio Ciavatta
------------------------


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Taglib in wrong path

Andoni Morales
In reply to this post by orione1974
Taglib is little bit tricky to compile because of CMake. Can you please try:

$ rm ~/cerbero/sources/windows_x86/taglib*
$ ./cerbero-uninstalled buildone taglib

Andoni

2012/11/15 Orione1974 <[hidden email]>:

> My develop machine is Windows 7 32 bit with MinGW. When I build "taglib"
> CMake try to install "taglib" in the wrong folder "C:/Program
>   Files/taglib/include/taglib". how to change the configuration?
>
> $ ./cerbero-uninstalled build taglib
> WARNING: Using default configuration because
> C:/MinGW/msys/1.0/home/mikol/.cerbero/cerbero.cbc is missing
> Building the following recipes: taglib
> [(1/1) taglib -> fetch ]
> -----> Step done
> [(1/1) taglib -> extract ]
> -----> Step done
> [(1/1) taglib -> configure ]
> -----> Step done
> [(1/1) taglib -> compile ]
> -----> Step done
> [(1/1) taglib -> install ]
> Running command 'make install'
> [ 49%] Built target tag
> [ 99%] Built target tag_static
> [100%] Built target tag_c
> Install the project...
> -- Install configuration: ""
> -- Up-to-date: C:/Program Files/taglib/include/taglib/taglib_config.h
> CMake Error at cmake_install.cmake:39 (FILE):
>   file INSTALL cannot set permissions on "C:/Program
>   Files/taglib/include/taglib/taglib_config.h"
>
>
> make: *** [install] Error 1
> ***** Error running 'build' command:
> Recipe 'taglib' failed at the build step 'install'
>
>
>
> Fabrizio Ciavatta
> ------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Taglib in wrong path

Fabrizio Ciavatta
Thank you Andoni.
In my "~/cerbero/dist/windows_x86/bin" directory the new files "libtag_c.dll" and "libtag.dll" are present.
Here the build result:

$ ./cerbero-uninstalled buildone taglib
WARNING: Using default configuration because C:/MinGW/msys/1.0/home/mikol/.cerbero/cerbero.cbc is missing
Building the following recipes: taglib
[(1/1) taglib -> fetch ]
Running command 'git remote add -f origin git://anongit.freedesktop.org/gstreamer-sdk/taglib.git'
fatal: remote origin already exists.
Running command 'git tag -d sdk-release-sdk-2012.10'

(....omissis....)

[(1/1) taglib -> configure ]
Running command 'cmake -DCMAKE_INSTALL_PREFIX=/C/MinGW/msys/1.0/home/mikol/cerbero/dist/windows_x86 -DCMAKE_LIBRARY_OUTPUT_PATH=/C/MinGW/msys/1.0/home/mikol/cerbero/dist/windows_x86/lib -DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1 -DWIN32=1 -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc  -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++  -DCMAKE_SYSTEM_NAME=Windows  -G\"Unix Makefiles\" -DCMAKE_C_FLAGS="-g -O2 -DWINVER=0x0501" -DCMAKE_CXX_FLAGS="-g -O2 -DWINVER=0x0501" -DLIB_SUFFIX=  -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX '

(....omissis....)

CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_LIBRARY_OUTPUT_PATH


-- Build files have been written to: C:/MinGW/msys/1.0/home/mikol/cerbero/sources/windows_x86/taglib-1.7.2
[(1/1) taglib -> compile ]
Running command 'make'

(....omissis....)

Linking CXX static library libtag_static.a
[ 99%] Built target tag_static
Scanning dependencies of target tag_c
[100%] Building CXX object bindings/c/CMakeFiles/tag_c.dir/tag_c.cpp.obj
Linking CXX shared library libtag_c.dll

(....omissis....)

[(1/1) taglib -> post_install ]
Traceback (most recent call last):
  File ".\cerbero\main.py", line 103, in run_command
    res = commands.run(command, self.config, self.args)
  File ".\cerbero\commands\__init__.py", line 78, in run
    return _commands[command].run(config, args)
  File ".\cerbero\commands\build.py", line 61, in run
    self.no_deps)
  File ".\cerbero\commands\build.py", line 70, in runargs
    oven.start_cooking()
  File ".\cerbero\build\oven.py", line 75, in start_cooking
    self._cook_recipe(recipe, i, len(ordered_recipes))
  File ".\cerbero\build\oven.py", line 108, in _cook_recipe
    ex))
FatalError: Fatal Error: Error performing step post_install: [Errno 13] Permission denied: 'C:/MinGW/msys/1.0/home/mikol/cerbero/dist/windows_x86/lib/libtag.la'
***** Error running 'buildone' command:
Fatal Error: Error performing step post_install: [Errno 13] Permission denied: 'C:/MinGW/msys/1.0/home/mikol/cerbero/dist/windows_x86/lib/libtag.la'
usage: cerbero-uninstalled [-h] [-c CONFIG]

                           {add-recipe,tag,genxcconfig,genlibfiles,check,list-packages,build,add-package,genvsprops,shell,run,cleanone,packageinfo,buildone,wipe,debug-packages,package,bootstrap,list,checkpackage,deps,gensdkshell}
                           ...

Fabrizio Ciavatta
------------------------


2012/11/16 Andoni Morales <[hidden email]>
Taglib is little bit tricky to compile because of CMake. Can you please try:

$ rm ~/cerbero/sources/windows_x86/taglib*
$ ./cerbero-uninstalled buildone taglib

Andoni


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel