swarm-support
[Top][All Lists]
Advanced

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

Re: [Swarm-Support] can't install libswarm-dev


From: David Camacho
Subject: Re: [Swarm-Support] can't install libswarm-dev
Date: Fri, 29 Jul 2011 07:53:24 +0100 (BST)

Dear Paul,

Many thanks for all this.
Now I am able to install swarm, compile and run the demo applications.
However, what for me worked was an additional little trick.
I did what follows, on two different computers, both with a fresh installed Ubuntu 11.04 64bits
In order to install the four libraries described by you below, I need to to install their dependencies (libpng, libxpm etc) and specially for libswarm-dev, I needed blt-dev. Therefore I installed this first, and then I could start it replacement by your version of blt.
Howver, now this blt version is conflicting with blt-dev and ALL the time, when I try to actualise my system it tries to remove libwsarm-dev and blt-dev
Here is what I got:

" address@hidden:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 blt-dev : Depends: blt (= 2.4z-4.2ubuntu1) but 2.4z-5 is installed
E: Unmet dependencies. Try using -f. "

And if I try what it recomends:

" address@hidden:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  blt-dev libswarm-dev
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 16.8 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.   "

What would you recommend in order to actualise the system, and or, install new packages?

regards,

David





Von: Paul Johnson <address@hidden>
An: David Camacho <address@hidden>; Swarm Support <address@hidden>
Gesendet: 0:08 Donnerstag, 7.Juli 2011
Betreff: Re: [Swarm-Support] can't install libswarm-dev

Right now I'm running Debian 6+, but I think I can still see what works.  I needed to use synaptic to make sure I had
tcl8.5-dev.

Then:


address@hidden:blt-lucid$ sudo dpkg -i blt-dev_2.4z-5_amd64.deb  blt_2.4z-5_amd64.deb
Selecting previously deselected package blt-dev.
(Reading database ... 228533 files and directories currently installed.)
Unpacking blt-dev (from blt-dev_2.4z-5_amd64.deb) ...
Preparing to replace blt 2.4z-5 (using blt_2.4z-5_amd64.deb) ...
Unpacking replacement blt ...
Setting up blt (2.4z-5) ...
Processing triggers for doc-base ...
Processing 1 changed doc-base file...
Registering documents with scrollkeeper...
Processing triggers for man-db ...
Setting up blt-dev (2.4z-5) ...

Then:

$ sudo dpkg -i libswarm0_2.4.0-1_amd64.deb
Selecting previously deselected package libswarm0.
(Reading database ... 228562 files and directories currently installed.)
Unpacking libswarm0 (from libswarm0_2.4.0-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libswarm0:
libswarm0 depends on libhdf5-serial-1.8.4 | libhdf5-1.8.4; however:
  Package libhdf5-serial-1.8.4 is not installed.
  Package libhdf5-1.8.4 is not installed.
dpkg: error processing libswarm0 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libswarm0

Bummer, my system is a mix of Debian unstable and testing and stable.  So I have to fiddle around in synaptic a while,
to get installs of




After that

$ sudo dpkg -i libswarm0_2.4.0-1_amd64.deb
(Reading database ... 228729 files and directories currently installed.)
Preparing to replace libswarm0 2.4.0-1 (using libswarm0_2.4.0-1_amd64.deb) ...
Unpacking replacement libswarm0 ...
Setting up libswarm0 (2.4.0-1) ...

I'm feeling optimistic. But then:

$ sudo dpkg -i libswarm-dev_2.4.0-1_amd64.deb
[sudo] password for pauljohn:
Selecting previously deselected package libswarm-dev.
(Reading database ... 228729 files and directories currently installed.)
Unpacking libswarm-dev (from libswarm-dev_2.4.0-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libswarm-dev:
libswarm-dev depends on gobjc; however:
  Package gobjc is not installed.
libswarm-dev depends on libxpm-dev; however:
  Package libxpm-dev is not installed.
dpkg: error processing libswarm-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libswarm-dev


THat sends me down a long path, trying to get an internally coherent set of gcc and libobjc packages.



address@hidden:tmp$ sudo dpkg -i libswarm-dev_2.4.0-1_amd64.deb
Selecting previously deselected package libswarm-dev.
(Reading database ... 228779 files and directories currently installed.)
Unpacking libswarm-dev (from libswarm-dev_2.4.0-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libswarm-dev:
libswarm-dev depends on gobjc; however:
  Package gobjc is not installed.
dpkg: error processing libswarm-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libswarm-dev


At this moment, i'm stuck on a difference in the way they packaged objective C.  I do have 'gobjc-4.4' installed, but
that doesn't make my deb for swarm happy, it is looking just for 'gobjc'

I don't know who ever said that Debian usage prevents membership in the "Dependency Hell" club, but that guy was wrong.
Back to more fiddling. Another trip to the random repository choosing lottery, I have gobjc installed, and:


$ sudo dpkg -i libswarm-dev_2.4.0-1_amd64.deb
(Reading database ... 229083 files and directories currently installed.)
Preparing to replace libswarm-dev 2.4.0-1 (using libswarm-dev_2.4.0-1_amd64.deb) ...
Unpacking replacement libswarm-dev ...
Setting up libswarm-dev (2.4.0-1) ...


That's encouraging.

And it compiles and runs!  Look here I am in heatbugs


$ export SWARMHOME=/

$ make clean
rm -f Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o HeatbugBatchSwarm.o heatbugs
.libs/heatbugs .libs/lt-heatbugs  core gmon.out heatbugs.core
address@hidden:heatbugs$ make
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm  Heatbug.m
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm  HeatSpace.m
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm  main.m
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm  HeatbugModelSwarm.m
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm
HeatbugObserverSwarm.m
gcc -c -g -O2 -fno-strict-aliasing -Wall -Wno-import -Wno-protocol -Wno-long-long  -D_GNU_SOURCE -DAPPNAME=heatbugs
-DAPPVERSION=2.1.1 -DBUGADDRESS=address@hidden  -I/usr/include/swarm -I/usr/include/swarm/Swarm  HeatbugBatchSwarm.m
/bin/sh /usr/bin/libtool-swarm --mode link gcc -g -O2 -g -Wall -O2 -L/usr/lib -rpath /usr/lib    -o heatbugs Heatbug.o
HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o HeatbugBatchSwarm.o  -lswarm
libtool-swarm: link: gcc -g -O2 -g -Wall -O2 -o heatbugs Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o
HeatbugObserverSwarm.o HeatbugBatchSwarm.o  -L/usr/lib /usr/lib/libswarm.so -Wl,-rpath -Wl,/usr/lib
address@hidden:heatbugs$ ./heatbugs


On 07/05/2011 05:04 PM, David Camacho wrote:
> Dear Paul,
>
> I reinstall the blt-dev library and here is the report from the package installer:
>
> "Installation finished
>
> package 'blt' was installed"
>
>
> (Reading database ... (Reading database ... 5%(Reading database ... 10%(Reading database ... 15%(Reading database ... 20%(Reading database ... 25%(Reading database ... 30%(Reading database ... 35%(Reading database ... 40%(Reading database ... 45%(Reading database ... 50%(Reading database ... 55%(Reading database ... 60%(Reading database ... 65%(Reading database ... 70%(Reading database ... 75%(Reading database ... 80%(Reading database ... 85%(Reading database ... 90%(Reading database ... 95%(Reading database ... 100%(Reading database ... 209183 files and directories currently installed.)
> Preparing to replace blt 2.4z-5 (using .../SWARM_DEV/blt_2.4z-5_amd64.deb) ...
> Unpacking replacement blt ...
> Setting up blt (2.4z-5) ...
> Processing triggers for man-db ...
> Processing triggers for libc-bin ...
> ldconfig deferred processing now taking place
>
> Also I retry to install libswarm-dev but I got the same error.
>
> Any idea?
> thanks and regards,
> David
>
>
>
> ________________________________
> Von: Paul Johnson <address@hidden>
> An: David Camacho <address@hidden>; Swarm Support <address@hidden>
> Gesendet: 20:51 Dienstag, 5.Juli 2011
> Betreff: Re: [Swarm-Support] can't install libswarm-dev
>
> Just a guess, but I need to ask:
>
> what happened when you installed blt-dev ?
>
> pj
>
> On 07/04/2011 09:36 AM, David Camacho wrote:
>> Hi all,
>>
>> I am trying to install Sawarm on an (K)Ubuntu 10.04 64bit machine following the directions in:
>>
>> http://www.swarm.org/pipermail/support/2011-March/015940.html
>>
>> everything runs fine but the
>>
>> http://pj.freefaculty.org/Ubuntu/10.04/amd64/swarm/libswarm-dev_2.4.0-1_amd64.deb
>>
>> package does not work it installation.
>> the Package installer says:
>>
>> "Error: cann not install blt-dev"
>>
>> Does you know waht could be conflicting with it?
>>
>> (the rest of the packages installed fine)
>> thanks and regards,
>> David
>>
>>
>
> --
> Paul E. Johnson                      email: address@hidden<mailto:address@hidden>
> Professor, Political Science          http://pj.freefaculty.org
> Assoc. Director, Center for Research Methods and Data Analysis
> 1541 Lilac Lane, Rm 504
> University of Kansas                  Office: (785) 864-9086
> Lawrence, Kansas 66045-3129          FAX: (785) 864-5700
>
>

--
Paul E. Johnson                      email: address@hidden
Professor, Political Science          http://pj.freefaculty.org
Assoc. Director, Center for Research Methods and Data Analysis
1541 Lilac Lane, Rm 504
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045-3129          FAX: (785) 864-5700



reply via email to

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