Hi Antonio,
thanks a lot for your reply. I am bit surprised that making debian package requires running "make static".
The README/INSTALL simply says to run "make debian" to make the package. In turn the scripts use build/package/debian/rules, where one can specify the configure options. And configure is run afterwards. It seems to be going the right direction, except for the scripts are probably little obsolete in some cases.
Where did you find the recommendation for "make static" for debian, please? (I am sorry if I am missing something obvious).
Thanks.
Cheers,
Lukas
2011/3/2 Antonio Salvucci <s4lb04_at_gmail.com>:
> Hi Lukas,
> as you know to make debian packages You have to compile root with these
> stardard commands:
> ./configure bla bla bla (i suded the same options of lasta debian rules of
> Christian Hom)
> make
> make static
>
> So during the make static I had a lot of undefined reference, and I fixed them
> with a no so great solution: in fact I modified the makestatic.sh script (in
> attachment) but now i have problems in making the documentation and creating
> debian packages ...
>
> In this way root compile, but at the moment I have no time (and maybe the
> needed information) to fix also the other problems.
>
> You can see my last compilation log file in attchment.
>
> Cheers,
>
> Antonio
>
> On Wednesday 02 March 2011 10:28:21 Lukas Pribyl wrote:
>> Hi Antonio,
>>
>> could you please specify what you mean by
>>
>> "I modified some script to correctly build root; in fact when I run make
>> static under debian rules I had some undefined reference, but I fixed this
>> issue adding the needed library."
>>
>> I am also trying to build debian package, but encountered quite
>> different problems.
>> (http://root.cern.ch/phpBB3/viewtopic.php?f=3&t=12125&p=52999&hilit=debian#
>> p52999) It would be great to see your current solution.
>>
>> Thanks.
>>
>> Cheers,
>> Lukas
>>
>> 2011/2/28 Antonio Salvucci <s4lb04_at_gmail.com>:
>> > Hi rooters,
>> >
>> > I'm trying to compile root 5.28 and in the same time to make
>> > debian packages.
>> >
>> > I modified some script to correctly build root; in fact when I run make
>> > static under debian rules I had some undefined reference, but I fixed
>> > this issue adding the needed library.
>> >
>> > Now I have other 2 problems:
>> >
>> > 1) builduing the doc;
>> >
>> > LD_LIBRARY_PATH=/home/salvucci/Build_dir/Root/stable/5.28.00a/build/debia
>> > n_way/root-
>> > system-5.28.00/lib:/home/salvucci/Build_dir/Root/stable/5.28.00a/build/d
>> > ebian_way/root-
>> > system-5.28.00/cint/cint/include:/home/salvucci/Build_dir/Root/stable/5.
>> > 28.00a/build/debian_way/root- system-5.28.00/cint/cint/stl:
>> > ROOTSYS=/home/salvucci/Build_dir/Root/stable/5.28.00a/build/debian_way/ro
>> > ot- system-5.28.00 \
>> >
>> > /home/salvucci/Build_dir/Root/stable/5.28.00a/build/debian_way/root-
>> > system-5.28.00/bin/root.exe -l -b -q debian/html.C
>> > Error: cannot open file "iostream" (tmpfile):2:
>> > *** Interpreter error recovered ***
>> > Error: cannot open file "DllImport.h" (tmpfile):2:
>> > *** Interpreter error recovered ***
>> >
>> > Processing debian/html.C...
>> > Warning in <TUnixSystem::SetDisplay>: DISPLAY not set, setting it to :0
>> > Warning in <TGMimeTypes::TGMimeTypes>: error opening mime type file
>> > /etc/root/root.mimes
>> >
>> > [1mRooFit v3.14 -- Developed by Wouter Verkerke and David Kirkby [0m
>> > Copyright (C) 2000-2010 NIKHEF, University of California &
>> > Stanford University
>> > All rights reserved, please read
>> > http://roofit.sourceforge.net/license.txt
>> >
>> > Info in <THtml::CreateListOfClasses>: Initializing - this might take a
>> > while...
>> > Info in <THtml::TFileSysRoot::Recurse>: scanning
>> > /home/salvucci/Build_dir/Root/stable/5.28.00a/build/debian_way/root-
>> > system-5.28.00/include...
>> > Warning in <TClass::TClass>: no dictionary for class exception is
>> > available Warning in <TClass::TClass>: no dictionary for class
>> > iterator<bidirectional_iterator_tag,TObject*,long,const TObject**,const
>> > TObject*&> is available
>> > Warning in <TClass::TClass>: no dictionary for class TMVA::IPruneTool is
>> > available
>> > Warning in <TClass::TClass>: no dictionary for class
>> > basic_ostringstream<char,char_traits<char>,allocator<char> > is available
>> > Warning in <TClass::TClass>: no dictionary for class QObject is available
>> > Warning in <TClass::TClass>: no dictionary for class QApplication is
>> > available Warning in <TClass::TClass>: no dictionary for class QWidget
>> > is available Warning in <TClass::TClass>: no dictionary for class QVBox
>> > is available Warning in <TClass::TClass>: no dictionary for class QBrush
>> > is available Warning in <TClass::TClass>: no dictionary for class QFrame
>> > is available Warning in <TClass::TClass>: no dictionary for class QFont
>> > is available Warning in <TClass::TClass>: no dictionary for class QTimer
>> > is available Error in <TPluginManager::FindHandler>: Cannot find plugin
>> > handler for TVirtualStreamerInfo! Does
>> > $ROOTSYS/etc/plugins/TVirtualStreamerInfo exist?
>> >
>> > *** Break *** segmentation violation
>> > Error in <TUnixSystem::StackTrace> script /etc/root/gdb-backtrace.sh is
>> > missing
>> >
>> > *** Break *** segmentation violation
>> > Error in <TUnixSystem::StackTrace> script /etc/root/gdb-backtrace.sh is
>> > missing
>> > make: [htmldoc] Error 1 (ignored)
>> >
>> > 2) making debian packages
>> >
>> > Making list for 'core/thread'
>> > (libroot-core5.28,libroot-core-dev,root-system- bin)
>> > Making list for 'core/unix'
>> > (libroot-core5.28,libroot-core-dev,root-system- bin)
>> > Making list for 'core/utils'
>> > (libroot-core5.28,libroot-core-dev,root-system- bin)
>> > Making list for 'core/zip'
>> > (libroot-core5.28,libroot-core-dev,root-system-bin) Making list for
>> > 'geom/gdml' (root-plugin-geom-gdml,root-plugin-geom-gdml,root-
>> > plugin-geom-gdml)
>> > shift: 166: can't shift that many
>> > make[1]: *** [pkglists] Error 2
>> > make[1]: Leaving directory
>> > `/home/salvucci/Build_dir/Root/stable/5.28.00a/build/debian_way/root-
>> > system-5.28.00'
>> > make: *** [install-arch] Error 2
>> >
>> >
>> > Can you help me??
>> >
>> > Cheers,
>> >
>> > Antonio
>
Received on Thu Mar 03 2011 - 10:11:58 CET
This archive was generated by hypermail 2.2.0 : Thu Mar 03 2011 - 11:50:01 CET