Renato,

Please have a look at the script. 
I tried to follow your suggestions,
but I am doing this "in the dark"
because of my ignorance. Here is 
the listing of the script:

======================
#!/usr/bin/env bash
#build_pyside-tools.sh 
alldirs=("pyside-tools")
 
if [ $# == 0 ] ; then
    dirs=("${alldi...@]}")
else
    dirs=("$@")
fi
 
for d in "${di...@]}" ; do
    rm -rf "$d/build"
    mkdir -p "$d/build"
    (cd "$d/build"
    cmake -DCMAKE_INSTALL_PREFIX="/dat/sandbox/libpyside/" ..  && make 
-j4 && sudo make install || exit 1
    ) # exit from "$d/build"
done
======================

Unfortunately, this did not work. Following 
is the copy of the dialog:
**********************
a...@supremo:/dat/sandbox$ ./build_pyside-tools.sh
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found PythonInterp: /usr/bin/python2.6
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
CMake Error at CMakeLists.txt:7 (find_package):
  Could not find module FindPySide.cmake or a configuration file for 
package
  PySide.

  Adjust CMAKE_MODULE_PATH to find FindPySide.cmake or set PySide_DIR 
to the
  directory containing a CMake configuration file for PySide.  The file 
will
  have one of the following names:

    PySideConfig.cmake
    pyside-config.cmake

-- Configuring incomplete, errors occurred!
a...@supremo:/dat/sandbox$ 
**********************
I would say that I made no progress. Can
you help?

Al.

On Monday 01 November 2010 04:27:18 Renato Araujo Oliveira Filho 
wrote:
> Hi Algis,
> 
> if you are using a sandbox try use "-DCMAKE_INSTALL_PREFIX=[target
> dir]" with cmake command on your script.
> 
> On Sun, Oct 31, 2010 at 3:10 AM, Algis Kabaila 
<[email protected]> wrote:
> > On Sunday 31 October 2010 12:11:40 Renato Araujo Oliveira Filho 
wrote:
> >
> >> Hi Algis :D
> >
> >
> >> The pyside-uic is part of pyside-tools packages you can 
> >> get the source
> >> from PySide download page[1], or from gitorious[2], 
> >> or installing the
> >> pyside-tools packages[3].
> >
> >> [1]http://developer.qt.nokia.com/wiki/PySideDownloads/
> >> [2]http://qt.gitorious.org/pyside/pyside-tools
> >> [3]http://developer.qt.nokia.com/wiki/PySideBinariesLinux
> >> BR
> >
> > Renato,
> >
> > To make the pyside-tools procedure similar to other packages,
> > and following your kindly given advice, I downloaded the
> > pyside-tools source with the command
> > git clone git://qt.gitorious.org/pyside/pyside-tool.git
> > Then adjusted the "build_all" script to "build_pyside-tools"
> > script as follows:
> > **********************
> > #!/usr/bin/env bash
> > #build_pyside-tools.sh
> > alldirs=("pyside-tools")
> > if [ $# == 0 ] ; then
> > dirs=("${alldi...@]}")
> > else
> > dirs=("$@")
> > fi
> > for d in "${di...@]}" ; do
> > rm -rf "$d/build"
> > mkdir -p "$d/build"
> > (cd "$d/build"
> > cmake .. && make -j4 && sudo make install || exit 1
> > ) # exit from "$d/build"
> > done
> > **********************
> >
> > Running it gave me the following messages:
> >
> > ===================
> >
> > a...@supremo:/dat/sandbox$ ./build_pyside-tools.sh
> > -- The C compiler identification is GNU
> > -- The CXX compiler identification is GNU
> > -- Check for working C compiler: /usr/bin/gcc
> > -- Check for working C compiler: /usr/bin/gcc -- works
> > -- Detecting C compiler ABI info
> > -- Detecting C compiler ABI info - done
> > -- Check for working CXX compiler: /usr/bin/c++
> > -- Check for working CXX compiler: /usr/bin/c++ -- works
> > -- Detecting CXX compiler ABI info
> > -- Detecting CXX compiler ABI info - done
> > -- Found PythonInterp: /usr/bin/python2.6
> > -- Looking for Q_WS_X11
> > -- Looking for Q_WS_X11 - found
> > -- Looking for Q_WS_WIN
> > -- Looking for Q_WS_WIN - not found.
> > -- Looking for Q_WS_QWS
> > -- Looking for Q_WS_QWS - not found.
> > -- Looking for Q_WS_MAC
> > -- Looking for Q_WS_MAC - not found.
> > -- Found Qt-Version 4.7.0 (using /usr/bin/qmake)
> > CMake Error at CMakeLists.txt:7 (find_package):
> > Could not find module FindPySide.cmake or a configuration file for 
package
> > PySide.
> >
> > Adjust CMAKE_MODULE_PATH to find FindPySide.cmake or set PySide_DIR 
to the
> >
> > directory containing a CMake configuration file for PySide. The file 
will
> > have one of the following names:
> > PySideConfig.cmake
> > pyside-config.cmake
> > -- Configuring incomplete, errors occurred!
> > a...@supremo:/dat/sandbox$
> > ===================
> >
> > Now my search, using "find" command, reveals that PySideConfig.cmake
> > is in the
> > /dat/sandbox/pyside/libpyside/
> > directory. pyside-config.cmake and FindPySide.cmake do not exist.
> > So I am instructed to "set PySide_DIR to the
> > /dat/sandbox/pyside/libpyside/"
> > So what is the command to set PySide_DIR to
> > /dat/sandbox/pyside/libpyside/ ?
> >
> > That and/or any other instruction would be appreciated.
> > Gratefully,
> >
> > OldAl.

> Renato Araujo Oliveira Filho
> Instituto Nokia de Tecnologia - INdT
> Mobile: +55 (81) 8704-2144
> 

-- 
Algis Kabaila
http://akabaila.pcug.org.au/
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to