Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble installing in Ubuntu 16.04.5 LTS #120

Open
saitej25 opened this Issue Aug 29, 2018 · 13 comments

Comments

Projects
None yet
3 participants
@saitej25
Copy link

saitej25 commented Aug 29, 2018

What OS?

  • Windows
  • Mac
  • [.] Linux (16.04.5)

Description of issue

While running qmake

qmake
Usage: /usr/lib/x86_64-linux-gnu/qt5/bin/qmake [mode] [options] [files]

QMake has two modes, one mode for generating project files based on
some heuristics, and the other for generating makefiles. Normally you
shouldn't need to specify a mode, as makefile generation is the default
mode for qmake, but you may use this to test qmake on an existing project

Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to
be built,
defaults to *; *; *; *.ts; *.xlf; *.qrc
Note: The created .pro file probably will
need to be edited. For example add the QT variable to
specify what modules are required.
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory

....blah blah!!

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Aug 30, 2018

Some things to try:

  • Did you run qmake PacketSender.pro in the src directory that contains PacketSender.pro?

A second .pro file was recently added to this project, so make sure to specify PacketSender.pro.

  • Did the downloadable AppImage not work? (chmod a+x, then run it)
@saitej25

This comment has been minimized.

Copy link
Author

saitej25 commented Aug 30, 2018

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Aug 31, 2018

Packet Sender does not require sudo. You should be able to chmod and run entirely in userland. You only need sudo to bind to ports lower than 1024, which Packet Sender does not attempt unless told.

image

@saitej25

This comment has been minimized.

Copy link
Author

saitej25 commented Sep 7, 2018

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Sep 7, 2018

Packet Sender operates at layer 4 (higher if using SSL) and lets your your OS assemble the actual packet. Is this when using TCP or UDP? Persistent or not?

@saitej25

This comment has been minimized.

Copy link
Author

saitej25 commented Sep 7, 2018

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Sep 7, 2018

I actually have to do stuff to keep a TCP session alive. UDP is literally just send and forget inside the code. Only the receive handler is threaded. Does this phenomenon happen over other mediums, such as WiFi?

@saitej25

This comment has been minimized.

Copy link
Author

saitej25 commented Sep 7, 2018

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Sep 8, 2018

Never tested with a 10G connection. I cannot imagine why it'd behave differently. Sorry, I don't have that kind of equipment to check.

@saitej25

This comment has been minimized.

Copy link
Author

saitej25 commented Sep 8, 2018

@tophatnosocks

This comment has been minimized.

Copy link

tophatnosocks commented Sep 18, 2018

Linux Mint 18.2 PacketSender given executing permissions, same as the OneShot appimage which does run. PacketSender simply doesn't run when I double click or try in console. Any ideas?

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Sep 19, 2018

Just tested, and it runs on a fresh Linux Mint 19. I always compile and build the AppImage on the latest Ubuntu. Perhaps that is a bad strategy since this has happened before. I don't know what the problem is.

The backup plan for Linux is compiling the source, and compiling Packet Sender is pretty easy if you are able to apt install the Qt SDK. Qt is Packet Sender's only dependency.

@dannagle

This comment has been minimized.

Copy link
Owner

dannagle commented Dec 29, 2018

Latest AppImage release is based on Ubuntu 16 LTS instead of Ubuntu 18. Should help these compatibility problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.