Faculty of Engineering and Mathematical Sciences 
Not logged in (login)

help3002


This forum is provided to promote discussion amongst students enrolled in Computer Networks (CITS3002).
 
Before posting a question here, you may like to read the article How To Ask Questions The Smart Way.

If just starting the project, please search this forum for related topics (from Week-8) before posting new questions.
 
Options:
RSS cloud
Jump to:

Installing cnet on your own laptop

1 of 646 articles shown, currently no other people reading this forum.
photo
From: Christopher M.
Date: Sat 14th Mar, 5:48pm
Actions: 
        Login-to-reply
I've received a couple of email asking about help with installing cnet on personal laptops.  
I'll post the questions my answers here as they may help other students, too.

______

    .... while I have managed to get it installed I just have a
    few questions about the current build process.

    My system:
    Majaro Linux (Linux55 kernel)
    (its effectively arch)

    There currently exists a package for cnet on the Arch User repository
    https://aur.archlinux.org/packages/cnet/

(just checked) it's a package created and uploaded by someone else - not a problem that 
someone's done that (it's open-source, after all), but note that it's a bit older than our 
version, and will have some older bugs in it.

    which using standard installation fails due to:

    curl: (60) SSL certificate problem: unable to get local issuer certificate

Fortunately this sounds like their problem; don't let their out-of-date certificate stop you,  
try with another tool, perhaps a browser that simply asked for confirmation, or wget.

    I am working on fixing this issue. Should I managed to get it fixed would
    you be ok with me putting the updated package back up on the AUR as the last
    time it was updated was 2017.

Yes, fine it's open-source with attribution.  Thanks for asking (but I can't stop you :-)


    Secondly, whilst my attempts at doing fun things in VM land have so far
    failed when building from source on my machine I ran into another issue:

    linking cnet
    /usr/bin/ld: cannot find -ltcl8.5
    /usr/bin/ld: cannot find -ltk8.5

    Which was a simple package compatibility issue as my system have version 8.6
    installed to both. I simply had to change lines 27 and 32 (replacing 8.5
    with 8.6) of src/Makefile to get a successful compilation. I am not sure
    weather this is of any use to you but I thought I would make you aware of it regardless.

Yes, this is the problem that most students first hit. Different distributions of Linux and 
macOS have different versions of Tcl/Tk installed, and/or are updated very slowly.  Using 
either Tck/Tk v8.5 or v8.6, cnet should still compile 'quietly', and work similarly without 
any other change.

Related articles

Installing cnet on your own laptop (all 28) RSS
├─ THIS   Sat 14th Mar, 5:48pm, Christopher M.
├─ reply 1   Sat 14th Mar, 5:53pm, Christopher M.  O.P.
├─ reply 2   Mon 16th Mar, 1:02am, ANONYMOUS
├─ reply 3   Mon 16th Mar, 3:48am, Christopher M.  O.P.
├─ reply 4   Mon 16th Mar, 5:51am, Shayan R.
├─ reply 5   Mon 16th Mar, 9:43am, Christopher M.  O.P.
├─ reply 6   Mon 16th Mar, 12:51pm, ANONYMOUS
├─ reply 7   Mon 16th Mar, 12:58pm, Christopher M.  O.P.
├─ reply 8   Sat 21st Mar, 5:41pm, Christopher M.  O.P.
├─ reply 9 smile Sat 21st Mar, 11:45pm, ANONYMOUS
├─ reply 10   Sun 22nd Mar, 5:17am, Christopher M.  O.P.
├─ reply 11   Sun 22nd Mar, 11:34am, Ka H.
├─ reply 12   Mon 23rd Mar, 3:49am, ANONYMOUS
├─ reply 13   Mon 23rd Mar, 3:50am, Christopher M.  O.P.
├─ reply 14   Mon 23rd Mar, 12:13pm, ANONYMOUS
├─ reply 15   Mon 23rd Mar, 1:02pm, ANONYMOUS
├─ reply 16   Mon 23rd Mar, 1:57pm, Christopher M.  O.P.
├─ reply 17   Tue 24th Mar, 8:31pm, Lemar H.
├─ reply 18   Tue 24th Mar, 10:24pm, David C.
├─ reply 19   Tue 24th Mar, 11:44pm, ANONYMOUS
├─ reply 20   Wed 25th Mar, 3:50am, Christopher M.  O.P.
├─ reply 21   Mon 30th Mar, 4:28pm, Alan C.
├─ reply 22   Mon 30th Mar, 6:51pm, Christopher M.  O.P.
├─ reply 23   Tue 31st Mar, 10:26am, Alan C.
├─ reply 24   Tue 31st Mar, 10:32am, Christopher M.  O.P.
├─ reply 25   Sat 4th Apr, 11:00am, ANONYMOUS
├─ reply 26   Sun 5th Apr, 3:20pm, ANONYMOUS
└─ reply 27   Mon 6th Apr, 4:37am, Christopher M.  O.P.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020