Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Netbeans 6.5

  1. #1
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    46

    Default Netbeans 6.5

    I tried installing netbeans 6.5 from Index of /repositories/Education/openSUSE_11.0 on a 32bit system, but yast tells me netbeans-java requires libpthread.1()(64bit). For netbeans-cpp it requires libc.so.6()(64bit). Im wondering now whether I need to install these packages or the build is kinda messed up. I actually doubt I need to install glibc for a 64bit system.

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,682
    Blog Entries
    15

    Default Re: Netbeans 6.5

    Quote Originally Posted by harald rombaut
    I tried installing netbeans 6.5 from 'Index of
    /repositories/Education/openSUSE_11.0'
    (http://download.opensuse.org/reposit.../openSUSE_11.0) on a
    32bit system, but yast tells me netbeans-java requires
    libpthread.1()(64bit). For netbeans-cpp it requires libc.so.6()(64bit).
    Im wondering now whether I need to install these packages or the build
    is kinda messed up. I actually doubt I need to install glibc for a 64bit
    system.
    Hi
    Just installed it here via YaST without any issues, are you installing
    manually? If so, you didn't download x86_64 rpms?

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 2 days 12:45, 1 user, load average: 0.21, 0.31, 0.27
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  3. #3
    Join Date
    Jun 2008
    Location
    Belgium
    Posts
    46

    Default Re: Netbeans 6.5

    No, I'm installing it via yast as well


  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,682
    Blog Entries
    15

    Default Re: Netbeans 6.5

    Quote Originally Posted by harald rombaut
    No, I'm installing it via yast as well

    [image: http://wina2.ugent.be/~harald/error.jpg]
    Hi
    Very strange indeed. Ok, what happens if you re-install glibc. The
    other one is to check is the cache;
    Code:
    sudo /sbin/ldconfig --print-cache |grep 64
    or
    sudo /sbin/ldconfig --print-cache |grep libpthread
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 2 days 14:42, 1 user, load average: 0.07, 0.12, 0.26
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  5. #5
    davehaefner NNTP User

    Default Re: Netbeans 6.5

    Same problem here, and Yast will not allow the error to be ignored.

    I am using a 64 bit system, so those libs should be installed. I did notice that the error is requesting libpthread.1()(64bit) which seems like an odd request. Here is the output from ldconfig:

    /sbin/ldconfig --print-cache |grep libpthread
    libpthread.so.0 (libc6,x86-64, OS ABI: Linux 2.6.4) => /lib64/libpthread.so.0
    libpthread.so.0 (libc6, OS ABI: Linux 2.6.4) => /lib/libpthread.so.0

    I think the packager may have got something wrong. I also notice that the link above to the "Education" repo is not the same one as provided in Yast, and had to be added manually. The Yast provided Education repo only has Netbeans 6.1

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,682
    Blog Entries
    15

    Default Re: Netbeans 6.5

    Quote Originally Posted by davehaefner
    Same problem here, and Yast will not allow the error to be ignored.

    I am using a 64 bit system, so those libs should be installed. I did
    notice that the error is requesting libpthread.1()(64bit) which seems
    like an odd request. Here is the output from ldconfig:

    /sbin/ldconfig --print-cache |grep libpthread
    libpthread.so.0 (libc6,x86-64, OS ABI: Linux 2.6.4) =>
    /lib64/libpthread.so.0
    libpthread.so.0 (libc6, OS ABI: Linux 2.6.4) =>
    /lib/libpthread.so.0

    I think the packager may have got something wrong. I also notice that
    the link above to the "Education" repo is not the same one as provided
    in Yast, and had to be added manually. The Yast provided Education repo
    only has Netbeans 6.1
    Hi
    Ahhhh, good spotting. I tried to add the repo and it's having errors.
    Manually download the files and then use rpm -Uhv net* to install.

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 2 days 17:02, 1 user, load average: 0.50, 0.51, 0.46
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  7. #7
    davehaefner NNTP User

    Default Re: Netbeans 6.5

    Hmmm....

    If the repo is throwing errors, then maybe it is best to leave it alone. I think I will try the full download from netbeans.org first.

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,682
    Blog Entries
    15

    Default Re: Netbeans 6.5

    Quote Originally Posted by davehaefner
    Hmmm....

    If the repo is throwing errors, then maybe it is best to leave it
    alone. I think I will try the full download from netbeans.org first.
    Hi
    That was an error on my part adding the repository. I just had a look
    at the src rpm and it uses the netbeans-6.5-200811100001-ml.zip source
    file. I'm just downloading it to see if using that with the spec file
    is any different...

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 2 days 20:44, 3 users, load average: 0.37, 0.35, 0.35
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  9. #9
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,682
    Blog Entries
    15

    Default Re: Netbeans 6.5

    Quote Originally Posted by Malcolm
    Quote Originally Posted by davehaefner
    Hmmm....

    If the repo is throwing errors, then maybe it is best to leave it
    alone. I think I will try the full download from netbeans.org first.
    Hi
    That was an error on my part adding the repository. I just had a look
    at the src rpm and it uses the netbeans-6.5-200811100001-ml.zip source
    file. I'm just downloading it to see if using that with the spec file
    is any different...
    Hi
    Well it looks like there are a few errors in the spec file for x86 (and
    some others). Basically it was leaving a x86_64 library file and the
    provides were trying to use it. I'm also sending an email to the
    packager with my findings, but will post here how I built it from the
    src rpm from the Education repository;

    Code:
    cp netbeans-6.5-4.1.src.rpm /usr/src/packages/SOURCES/
    cd /usr/src/packages/SOURCES
    rpm2cpio netbeans-6.5-4.1.src.rpm | cpio -idmv
    vi netbean.spec
    
    (here is a diff file to see what to add, don't add the >'s ;) )
    
    127a128
    > find . -type f -name "*.dll" -delete
    131a133
    > rm -rf profiler3/lib/deployed/cvm/windows
    137a140,141
    > find . -type f -name "*SunOS-sparc_64.so" -delete
    > find . -type f -name "*SunOS-x86_64.so" -delete
    154a159,161
    > %ifnarch x86_64
    > rm -rf cnd2/bin/unbuffer-Linux-x86_64.so
    > %endif
    168a176,179
    > rm -rf profiler3/lib/deployed/jdk15/hpux-pa_risc2.0
    > rm -rf profiler3/lib/deployed/jdk15/hpux-pa_risc2.0w
    > rm -rf profiler3/lib/deployed/jdk16/hpux-pa_risc2.0
    > rm -rf profiler3/lib/deployed/jdk16/hpux-pa_risc2.0w
    
    (save and exit)
    
    rpmbuild -ba netbeans.spec
    It should now build all the rpms (including a new src rpm)
    in /usr/src/packages/SRPMS/ and /usr/src/packages/RPMS/i586/ which can
    be installed via rpm -Uhv /usr/src/packages/RPMS/i586/<name_of_rpm>

    See before and after output here;
    http://nopaste.com/p/a8bh9angg

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.0 x86 Kernel 2.6.25.18-0.2-default
    up 2 days 23:15, 4 users, load average: 0.22, 0.73, 1.41
    GPU GeForce 6600 TE/6200 TE - Driver Version: 177.82


  10. #10
    Join Date
    Jun 2008
    Location
    SUSE Headquarter
    Posts
    23

    Default Re: Netbeans 6.5

    Hi

    As the current maintainer of the netbeans package, there's just to say: sorry for the inconvenience!

    A big thanks to Malcom for the great job!

    I've added the information from here to our openSUSE-Education Bugzilla: Bug 39 - Wrong dependencies of Netbeans 6.5
    (feel free to use it with your account data you also use here)

    Fixed package should be available in the Buildservice tomorrow.

    With kind regards,
    Lars

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •