Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
pilot-link 0.11.8 ebuild?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
mod_ebm
n00b
n00b


Joined: 10 Jan 2003
Posts: 2

PostPosted: Mon Aug 18, 2003 9:55 pm    Post subject: pilot-link 0.11.8 ebuild? Reply with quote

Hi,

Will there be an ebuild for pilot-link 0.11.8? I'm new to gentoo, but I need this version for my Tungsten T ;-)

Regards
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Wed Sep 03, 2003 12:48 pm    Post subject: Reply with quote

There is now, but I can't get it to compile.

Code:
!!! ERROR: app-pda/pilot-link-0.11.8 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)

_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
mod_ebm
n00b
n00b


Joined: 10 Jan 2003
Posts: 2

PostPosted: Wed Sep 03, 2003 1:17 pm    Post subject: Reply with quote

for me it worked fine. no segfaults anymore :-)

your problem seems to be a problem with the portage
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Sep 04, 2003 6:18 pm    Post subject: Reply with quote

mod_ebm wrote:
for me it worked fine. no segfaults anymore :-)

your problem seems to be a problem with the portage


Did you compile it under the newest version of portage (2.0.49-r3)? I've had different versions of portage brake ebuilds in the past. Perhaps I should have emerged this before I updated portage. :-)
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Thu Sep 04, 2003 6:31 pm    Post subject: Reply with quote

I'm getting a bunch of these:
Code:
libjpisock.c:198: invalid conversion from `jint*' to `int*'


Anyone know what that means?
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Fri Sep 05, 2003 4:20 pm    Post subject: Reply with quote

Gentoo Bug ID 26137 is about this:
https://bugs.gentoo.org/show_bug.cgi?id=26137

There appears to be 2 different ebuilds for this.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Githyboy
n00b
n00b


Joined: 15 Sep 2003
Posts: 8

PostPosted: Mon Sep 15, 2003 3:27 am    Post subject: Reply with quote

I'm getting a bunch of these:
Code:
libjpisock.c:198: invalid conversion from `jint*' to `int*'


Anyone know what that means?

Try "rm /opt/blackdown-jdk-1.3.1/" and re-emerging
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Mon Sep 15, 2003 12:27 pm    Post subject: Reply with quote

Githyboy wrote:

Try "rm /opt/blackdown-jdk-1.3.1/" and re-emerging


Thanks, any reason I shouldn't 'emerge unmerge blackdown-jdk' instead of using just rm?
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
Githyboy
n00b
n00b


Joined: 15 Sep 2003
Posts: 8

PostPosted: Mon Sep 15, 2003 11:55 pm    Post subject: Reply with quote

For me, the latest version is :
* dev-java/blackdown-jdk
Latest version available: 1.4.1
Latest version installed: 1.4.1

Apparently the files for 1.3.1 were left on my computer, and pilot-link was trying to use them. I guess this would be more of a blackdown-jdk problem.
Back to top
View user's profile Send private message
flickerfly
l33t
l33t


Joined: 08 Nov 2002
Posts: 677
Location: Lanham, MD

PostPosted: Tue Sep 16, 2003 11:41 am    Post subject: Reply with quote

oh, ok so an unmerge won't take care of it. Thanks, I'll try that.
_________________
An Evil Genious' Guide to Sheeple and How To Avoid Becoming One | 0x4C9EF4A
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Tue Oct 14, 2003 4:27 pm    Post subject: Reply with quote

I had the same error, you dont need to do anything besides use the newest jdk, or jre. This error is generated because 1.3.1.x is not compatible with the current version of pilot-link. java 1.4.1.x is required.
Code:
java-config --list-available-vms
 [sun-j2sdk-1.4.1] Sun JDK 1.4.1 (/etc/env.d/java/20sun-j2sdk-1.4.1) ()
 [blackdown-jre-1.4.1] Blackdown JRE 1.4.1 (/etc/env.d/java/20blackdown-jre-1.4.1) ()
 [sun-jdk-1.3.1.08] Sun JDK 1.3.1.08 (/etc/env.d/java/20sun-jdk-1.3.1.08) (selected)
 [sun-jdk-1.4.2.01] Sun JDK 1.4.2.01 (/etc/env.d/java/20sun-jdk-1.4.2.01) ()
 [blackdown-jdk-1.4.1] Blackdown JDK 1.4.1 (/etc/env.d/java/20blackdown-jdk-1.4.1) ()

java-config --set-system-vm=sun-j2sdk-1.4.1
source /etc/profile

_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
Sledgy
n00b
n00b


Joined: 03 Apr 2003
Posts: 38

PostPosted: Tue Oct 21, 2003 10:14 am    Post subject: Reply with quote

Code:
# java-config --list-available-vms
 [ibm-jdk-1.4.0] IBM JDK 1.4.0 (/etc/env.d/java/20ibm-jdk-1.4.0) ()
 [ibm-jdk-1.4.1] IBM JDK 1.4.1 (/etc/env.d/java/20ibm-jdk-1.4.1) ()
 [sun-jdk-1.4.2.01] Sun JDK 1.4.2.01 (/etc/env.d/java/20sun-jdk-1.4.2.01) ()
 [blackdown-jdk-1.3.1] Blackdown JDK 1.3.1 (/etc/env.d/java/20blackdown-jdk-1.3.1) (selected)
 [blackdown-jdk-1.4.1] Blackdown JDK 1.4.1 (/etc/env.d/java/20blackdown-jdk-1.4.1) ()


hm, looks like the old jdk do not get thrown out of the list.
is it the intention to have multiple versions of one jdk installed at the same time?
if yes, can emerge show them? because a normal search only shows the lastest:

Code:
# emerge -s jdk
Searching...
[ Results for search key : jdk ]
[ Applications found : 4 ]

*  dev-java/blackdown-jdk
      Latest version available: 1.4.1
      Latest version installed: 1.4.1
      Size of downloaded files: 118,889 kB
      Homepage:    http://www.blackdown.org
      Description: Blackdown Java Development Kit 1.4.1

*  dev-java/compaq-jdk [ Masked ]
      Latest version available: 1.3.1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 0 kB
      Homepage:    http://h18012.www1.hp.com/java/documentation/1.3.1/linux/docs/index.html
      Description: Compaq Java Development Kit 1.3.1 for Alpha/Linux/GNU

*  dev-java/ibm-jdk
      Latest version available: 1.4.1
      Latest version installed: 1.4.1
      Size of downloaded files: 0 kB
      Homepage:    https://www6.software.ibm.com/dl/lxdk/lxdk-p
      Description: IBM Java Development Kit, version 1.4.1

*  dev-java/sun-jdk
      Latest version available: 1.4.2.01
      Latest version installed: 1.4.2.01
      Size of downloaded files: 34,957 kB
      Homepage:    http://java.sun.com/j2se/1.4.2/index.html
      Description: Sun's J2SE Development Kit, version 1.4.2


so i actually didn't think of having the old ones still installed (and actually still selected via java-config)
Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Tue Oct 21, 2003 7:31 pm    Post subject: Reply with quote

Quote:
hm, looks like the old jdk do not get thrown out of the list.
is it the intention to have multiple versions of one jdk installed at the same time?
if yes, can emerge show them? because a normal search only shows the lastest:


Yes, it was intentional that they do not remove the previous version of java. I as a programmer use all the different versions. And I dont know of any way to show all the versions in an emerge -s. hope this helps.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
Sledgy
n00b
n00b


Joined: 03 Apr 2003
Posts: 38

PostPosted: Wed Oct 22, 2003 9:42 am    Post subject: Reply with quote

sorry, but i somehow miss a consistant behavior of emerge :x
i know, some think it's ubercool that emerge is as tricky ( :twisted: )
and that a switch to a sound version would confuse existing users
more than it would help newbies, but imho it sucks at least a bit...

:arrow: emerge -u vim
-downloads new
-compiles new
-uninstalles old

:arrow: emerge -u sun-jdk
-downloads new
-compiles new

:arrow: emerge -u gentoo-sources
-downloads new

and of course there is:
emerge -u system
emerge -u world
and:
emerge (r)sync

did i miss some 'hidden features'?
Back to top
View user's profile Send private message
wilburpan
l33t
l33t


Joined: 21 Jan 2003
Posts: 977

PostPosted: Wed Oct 22, 2003 10:44 am    Post subject: Reply with quote

m4chine wrote:
Yes, it was intentional that they do not remove the previous version of java. I as a programmer use all the different versions. And I dont know of any way to show all the versions in an emerge -s.

Here's the workaround I've been using to clear out old versions of packages that accommodate multiple versions installed at the same time:
Code:
emerge unmerge packagename -p      *** note the "-p" at the end ***

[will display all the package versions that would be unmerged]

emerge unmerge packagename-version.number.to.be.unmerged

This is a little dangerous since you might forget to type the "-p" at the end of the first command. But it does work.
_________________
I'm only hanging out in OTW until I get rid of this stupid l33t ranking.....Crap. That didn't work.
Back to top
View user's profile Send private message
Sledgy
n00b
n00b


Joined: 03 Apr 2003
Posts: 38

PostPosted: Thu Oct 23, 2003 1:32 am    Post subject: Reply with quote

wilburpan wrote:

Code:
emerge unmerge packagename -p      *** note the "-p" at the end ***

[will display all the package versions that would be unmerged]

emerge unmerge packagename-version.number.to.be.unmerged


creative idea, wilburpan :D shows even more than java-config *nirg*

Code:
$ java-config --list-available-vms
 [ibm-jdk-1.4.0] IBM JDK 1.4.0 (/etc/env.d/java/20ibm-jdk-1.4.0) ()
 [ibm-jdk-1.4.1] IBM JDK 1.4.1 (/etc/env.d/java/20ibm-jdk-1.4.1) ()
 [sun-jdk-1.4.2.01] Sun JDK 1.4.2.01 (/etc/env.d/java/20sun-jdk-1.4.2.01) ()
 [blackdown-jdk-1.3.1] Blackdown JDK 1.3.1 (/etc/env.d/java/20blackdown-jdk-1.3.1) ()
 [blackdown-jdk-1.4.1] Blackdown JDK 1.4.1 (/etc/env.d/java/20blackdown-jdk-1.4.1) (selected)

Code:
 $ emerge unmerge ibm-jdk -p

>>> These are the packages that I would unmerge:

 dev-java/ibm-jdk
    selected: 1.4.1 1.3.1-r1 1.4.0-r1
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.

Back to top
View user's profile Send private message
m4chine
Apprentice
Apprentice


Joined: 12 Mar 2003
Posts: 271
Location: Ventura, CA, USA

PostPosted: Thu Oct 23, 2003 5:23 pm    Post subject: Reply with quote

sledgy -- you can configure emerge to uninstall almost all old packages by editing /etc/make.conf to do an 'autoclean', which will unistall *most* older packages. When a package is updated, meaning a new version has been installed, and the old one was not autocleaned, thats either because there was a hard dependency on that package. And in the case of Java, they dont uninstall any, because you will want, and i promise, to toggle between your installed versions of java. Some packages will not work with the newest java versions, requiring that you have the old version. The gentoo dev's know this, and have explicitly made it this way for ease of use. So you dont find out that a package doesnt work, and then you must reinstall the old one and so on. And iirc, java is the only Package that does this, hence the java-config. I argue that portage (emerge) sucks, even a little bit, never bite the hand that feeds you. Portage is the best thing, in my opinion, to have happened to linux since, well Linus. :D Yes of course there is a need for more understanding of the gentoo system, but once that understanding has been reached. Life is great.
_________________
never trust a man who can count to 1023 on his fingers.

-m4chine
Back to top
View user's profile Send private message
Sledgy
n00b
n00b


Joined: 03 Apr 2003
Posts: 38

PostPosted: Fri Oct 24, 2003 5:07 am    Post subject: Reply with quote

thanks m4chine, i do praise gentoo and spread the words,
but even gentoo has 'room for improvements'...

i just think emerge is a key part of gentoo but it's not obvious enough.

E.g. the fact that a package (like jdk) is slotted is neither shown in
it's name nor does emerge mention it (or am i wrong?)
Back to top
View user's profile Send private message
wolfger
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 254
Location: New Baltimore, MI

PostPosted: Fri Jul 16, 2004 2:04 am    Post subject: Reply with quote

Maybe I should start a new thread? But I'm having problems with this ebuild too... blackdown 1.4.2 and no previous versions installed (new machine), AMD64 using gcc 3.4.1

Code:
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/pilot-link-0.11.8/temp/ccaon9Fw.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
/var/tmp/portage/pilot-link-0.11.8/temp/ccaon9Fw.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [java_lib] Error 1
make[3]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings/Java'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pilot-link-0.11.8/work/pilot-link-0.11.8'
make: *** [all-recursive-am] Error 2

!!! ERROR: app-pda/pilot-link-0.11.8 failed.
!!! Function src_compile, Line 57, Exitcode 2
!!! (no error message)


I tried to emerge again with USE="-fPIC" as the message at the top there suggests, but I get the same error again. Both bugs in bugzilla are marked resolved, but clearly a problem still exists. :(
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Fri Jul 16, 2004 4:04 am    Post subject: Reply with quote

Not USE - CFLAGS. This package needs fixing for AMD64, but a workaround (do NOT make a habit of this) is to do CFLAGS="-fPIC" emerge pilot-link. It would be nice if you could file a (new) bug against this problem.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
wolfger
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 254
Location: New Baltimore, MI

PostPosted: Fri Jul 16, 2004 9:10 am    Post subject: Reply with quote

even using CFLAGS="-fPIC", I still get the same result, telling me to use -fPIC...

Bug 57268 has been added to the database
Back to top
View user's profile Send private message
Medah
n00b
n00b


Joined: 07 Mar 2004
Posts: 19
Location: The Netherlands

PostPosted: Fri Sep 10, 2004 9:44 am    Post subject: Reply with quote

i still seem to have this problem on AMD64 platform. Still no fix?
Back to top
View user's profile Send private message
wolfger
Apprentice
Apprentice


Joined: 09 Jun 2003
Posts: 254
Location: New Baltimore, MI

PostPosted: Fri Sep 10, 2004 10:05 am    Post subject: Reply with quote

No fix yet. The workaround is to
Code:
USE="-java"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum