On 11/08/13 08:28, Sirsendu Roy wrote:
> Hello Bruce,
> I tried exporting this variables but unfortunately nothing changed. I 
> get the same error.
> Regards,
> Roy
>
> This is a signature message which indicates that this email is not spam
>
> ------------------------------------------------------------------------
> *From:* Bruce Dubbs <[email protected]>
> *To:* Sirsendu Roy <[email protected]>; BLFS Support List 
> <[email protected]>
> *Sent:* Saturday, August 10, 2013 10:11 PM
> *Subject:* Re: [blfs-support] Phonon compilation error !!!
>
> Sirsendu Roy wrote:
> > Hello All,
> > I need your help again !!!!!
> > I have build Qt without phonon as described in the online book and 
> my X11 directory is /usr/X11
> > when trying to build the phonon module I am getting the following 
> error :
> > I have already put the Xorg prefixes as instructed into the 
> /etc/profile.d/xorg.sh
> >
> > mkdir build &&
> >> cd build &&
> >> cmake -DCMAKE_INSTALL_PREFIX=$QTDIR \
> >> -DPHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT=TRUE \
> >> -DDBUS_INTERFACES_INSTALL_DIR=/usr/share/dbus-1/interfaces \
> >>        .. && make
> > -- The C compiler identification is GNU 4.7.2
> > -- The CXX compiler identification is GNU 4.7.2
> > -- Check for working C compiler: /usr/bin/cc
> > -- Check for working C compiler: /usr/bin/cc -- 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
> > -- !!!!! Tests have been removed and need to be redone !!!!!
> > -- 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.8.5 (using /usr/bin/qmake)
> > CMake Error at /usr/share/cmake-2.8/Modules/FindX11.cmake:425 (message):
> >    Could not find X11
> > Call Stack (most recent call first):
> >    cmake/Qt4ConfigDependentSettings.cmake:30 (FIND_PACKAGE)
> >    cmake/FindQt4.cmake:1230 (INCLUDE)
> >    cmake/FindPhononInternal.cmake:68 (find_package)
> >    CMakeLists.txt:32 (include)
>
> Try adding:
>
> export CPLUS_INCLUDE_PATH=/usr/X11/include
> export C_INCLUDE_PATH=/usr/X11/include
> export LIBRARY_PATH=/usr/X11/lib
>
> I will be adding that to the book soon.
>
>   -- Bruce
>
>
> -- 
> http://linuxfromscratch.org/mailman/listinfo/blfs-support
> FAQ: http://www.linuxfromscratch.org/blfs/faq.html
> Unsubscribe: See the above information page
>
>
>
>
Hi

you need to set CMAKE_PREFIX_PATH=/usr/X11, or where ever your xlibs 
are, as they are in a non-standard path

so either export it or prepend to the command line


martin
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to