igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Ubuntu packages building ?


From: Emmanuel Navarro
Subject: Re: [igraph] Ubuntu packages building ?
Date: Thu, 7 Oct 2010 16:55:47 +0200

I'm here again with some problems with .deb packages (of 0.6 version).

python-igraph package build well,
but when I try to install it I got the following (in Setting Up phase):

Compiling /usr/lib/python2.5/site-packages/igraph/test/decomposition.py ...
  File "/usr/lib/python2.5/site-packages/igraph/test/decomposition.py", line 313
    self.assertAlmostEqual(compare_communities(*clusters, method=method),
                                                               ^
SyntaxError: invalid syntax
pycentral: pycentral pkginstall: error byte-compiling files (43)
pycentral pkginstall: error byte-compiling files (43)

It seems that test files are installed and compiled with python2.5
whereas they are no more compatible with python2.5 ?
However I do not really understand how/where packaging is
defined/configured... so I don't know how to fix it ?

Emmanuel

On Thu, Oct 7, 2010 at 12:51 PM, Emmanuel Navarro <address@hidden> wrote:
> Hi Tamas,
>
> It works fine ! (for python interface too)
> Thanks a lot.
>
> Emmanuel
>
> On Thu, Oct 7, 2010 at 11:26 AM, Tamas Nepusz <address@hidden> wrote:
>> Hi Emmanuel,
>>
>> I've fixed the Debian package in the 0.6 branch:
>>
>> http://bazaar.launchpad.net/~igraph/igraph/0.6-main/revision/2160
>>
>> --
>> Tamas
>>
>> On 6 Oct 2010, at 19:40, Emmanuel Navarro wrote:
>>
>>> I have the following error with the dpkg-buildpackage command :
>>>
>>> $ dpkg-buildpackage -rfakeroot
>>> [....]
>>> make[1]: quittant le répertoire « /home/manu/workspace/igraph/igraph »
>>> dh_testdir
>>> dh_testroot
>>> dh_install --fail-missing
>>> dh_install: usr/include/igraph/igraph_vector_pmt.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_blas.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_psumtree.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_games.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_array_pmt.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_layout.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_sparsemat.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_separators.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_cliques.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_stack_pmt.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph.h exists in debian/tmp but is
>>> not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_error.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_operators.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_memory.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_types.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_matrix.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_components.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_stack.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_paths.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_topology.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_conversion.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_centrality.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_transitivity.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_datatype.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_bipartite.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_community.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_constructors.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_pmt_off.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_random.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_motifs.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_adjlist.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_structural.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_constants.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_dqueue.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_heap_pmt.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_iterators.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_dqueue_pmt.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_version.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_progress.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_interface.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_attributes.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_cohesive_blocks.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_matrix_pmt.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_revolver.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_pmt.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_nongraph.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_heap.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_statusbar.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_neighborhood.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_flow.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_spmatrix.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_cocitation.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_visitor.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_array.h exists in debian/tmp but
>>> is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_strvector.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_arpack.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_foreign.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_interrupt.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_vector.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_mixing.h exists in debian/tmp
>>> but is not installed to anywhere
>>> dh_install: usr/include/igraph/igraph_vector_ptr.h exists in
>>> debian/tmp but is not installed to anywhere
>>> dh_install: usr/lib/libigraph.so exists in debian/tmp but is not
>>> installed to anywhere
>>> dh_install: usr/lib/libigraph.a exists in debian/tmp but is not
>>> installed to anywhere
>>> dh_install: usr/lib/libigraph.so.0.0.0 exists in debian/tmp but is not
>>> installed to anywhere
>>> dh_install: usr/lib/libigraph.so.0 exists in debian/tmp but is not
>>> installed to anywhere
>>> dh_install: usr/lib/libigraph.la exists in debian/tmp but is not
>>> installed to anywhere
>>> dh_install: usr/lib/pkgconfig/igraph.pc exists in debian/tmp but is
>>> not installed to anywhere
>>> dh_install: missing files, aborting
>>> make: *** [binary-arch] Erreur 1
>>> dpkg-buildpackage: erreur: fakeroot debian/rules binary a produit une
>>> erreur de sortie de type 2
>>>
>>> I have the same error with debuild binary.
>>> I not familiar with package building,
>>> I googled it a bit but I couldn't find anything relevant...
>>> You know what appends ?
>>>
>>> Thanks !
>>>
>>> Emmanuel
>>>
>>> On Wed, Oct 6, 2010 at 5:21 PM, Tamas Nepusz <address@hidden> wrote:
>>>> Hi,
>>>>
>>>>> I wonder if there is an easy way to build ubuntu (or debian) package
>>>>> for igraph sources ?
>>>>> release.sh / "make deb" aims to do so ? but it's not working... deb
>>>>> target doesn't exist.
>>>> Hmmm... release.sh seems to be a bit outdated, I guess we haven't used
>>>> that script for ages ;) Gabor, maybe it would be better to remove it
>>>> from the repo, it even refers to tla while we've migrated to Bazaar a
>>>> long time ago.
>>>>
>>>> Anyways, this is what I do to build a binary package:
>>>>
>>>> bzr co lp:igraph
>>>> cd igraph
>>>> ./bootstrap.sh
>>>> ./configure
>>>> debian/prepare
>>>> dpkg-buildpackage -rfakeroot
>>>>
>>>> Instead of "dpkg-buildpackage", you may also try "debuild binary".
>>>> I think this one should work.
>>>>
>>>> --
>>>> Tamas
>>>>
>>>> _______________________________________________
>>>> igraph-help mailing list
>>>> address@hidden
>>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>>>
>>>
>>> _______________________________________________
>>> igraph-help mailing list
>>> address@hidden
>>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>>
>> _______________________________________________
>> igraph-help mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/igraph-help
>>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]