Ubuntu 16.04.3 - Where do I get dependencies? [closed]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I need to install one package. Where do I get dependencies for Ubuntu 16.04.3 x64?



Following dependencies are not found.



root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libpt-dev libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpt-dev
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~#



root@ubuntu-s-1vcpu-1gb-ams2-01:~/sipcmd# make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/main.cpp:24:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/main.cpp: In member function 'bool Manager::SendDTMF(const PString&)':
src/main.cpp:446:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < dtmf.GetSize() - 1; i++) {
^
src/main.cpp:459:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ok = (i == dtmf.GetSize() - 1 ? true : false);
^
g++ -c -Wall src/commands.cpp -o src/commands.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/state.h:25,
from src/commands.cpp:29:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/commands.cpp: In member function 'virtual bool Wait::ParseCommand(const char**, std::vector<Command*>&)':
src/commands.cpp:439:30: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* aka long unsigned int*' [-Wformat=]
sscanf(*cmds, "%u", &millis);
^
g++ -c -Wall src/channels.cpp -o src/channels.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/channels.h:25,
from src/channels.cpp:27:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
g++ src/main.o src/commands.o src/channels.o -o sipcmd -lopal -lpt









share|improve this question















closed as off-topic by muru, Zanna, David Foerster, user535733, Eric Carvalho Feb 24 at 19:51


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – muru, Zanna, user535733
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 2




    The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
    – muru
    Feb 22 at 7:38










  • I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
    – YumYumYum
    Feb 22 at 8:00






  • 1




    Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
    – muru
    Feb 22 at 8:03














up vote
0
down vote

favorite












I need to install one package. Where do I get dependencies for Ubuntu 16.04.3 x64?



Following dependencies are not found.



root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libpt-dev libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpt-dev
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~#



root@ubuntu-s-1vcpu-1gb-ams2-01:~/sipcmd# make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/main.cpp:24:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/main.cpp: In member function 'bool Manager::SendDTMF(const PString&)':
src/main.cpp:446:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < dtmf.GetSize() - 1; i++) {
^
src/main.cpp:459:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ok = (i == dtmf.GetSize() - 1 ? true : false);
^
g++ -c -Wall src/commands.cpp -o src/commands.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/state.h:25,
from src/commands.cpp:29:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/commands.cpp: In member function 'virtual bool Wait::ParseCommand(const char**, std::vector<Command*>&)':
src/commands.cpp:439:30: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* aka long unsigned int*' [-Wformat=]
sscanf(*cmds, "%u", &millis);
^
g++ -c -Wall src/channels.cpp -o src/channels.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/channels.h:25,
from src/channels.cpp:27:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
g++ src/main.o src/commands.o src/channels.o -o sipcmd -lopal -lpt









share|improve this question















closed as off-topic by muru, Zanna, David Foerster, user535733, Eric Carvalho Feb 24 at 19:51


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – muru, Zanna, user535733
If this question can be reworded to fit the rules in the help center, please edit the question.








  • 2




    The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
    – muru
    Feb 22 at 7:38










  • I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
    – YumYumYum
    Feb 22 at 8:00






  • 1




    Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
    – muru
    Feb 22 at 8:03












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I need to install one package. Where do I get dependencies for Ubuntu 16.04.3 x64?



Following dependencies are not found.



root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libpt-dev libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpt-dev
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~#



root@ubuntu-s-1vcpu-1gb-ams2-01:~/sipcmd# make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/main.cpp:24:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/main.cpp: In member function 'bool Manager::SendDTMF(const PString&)':
src/main.cpp:446:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < dtmf.GetSize() - 1; i++) {
^
src/main.cpp:459:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ok = (i == dtmf.GetSize() - 1 ? true : false);
^
g++ -c -Wall src/commands.cpp -o src/commands.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/state.h:25,
from src/commands.cpp:29:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/commands.cpp: In member function 'virtual bool Wait::ParseCommand(const char**, std::vector<Command*>&)':
src/commands.cpp:439:30: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* aka long unsigned int*' [-Wformat=]
sscanf(*cmds, "%u", &millis);
^
g++ -c -Wall src/channels.cpp -o src/channels.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/channels.h:25,
from src/channels.cpp:27:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
g++ src/main.o src/commands.o src/channels.o -o sipcmd -lopal -lpt









share|improve this question















I need to install one package. Where do I get dependencies for Ubuntu 16.04.3 x64?



Following dependencies are not found.



root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~# apt-get install libpt-dev libopal-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libpt-dev
E: Unable to locate package libopal-dev
root@ubuntu-s-1vcpu-1gb-ams2-01:~#



root@ubuntu-s-1vcpu-1gb-ams2-01:~/sipcmd# make
g++ -c -Wall src/main.cpp -o src/main.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/main.cpp:24:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/main.cpp: In member function 'bool Manager::SendDTMF(const PString&)':
src/main.cpp:446:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (; i < dtmf.GetSize() - 1; i++) {
^
src/main.cpp:459:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
ok = (i == dtmf.GetSize() - 1 ? true : false);
^
g++ -c -Wall src/commands.cpp -o src/commands.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/main.h:24,
from src/state.h:25,
from src/commands.cpp:29:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
src/commands.cpp: In member function 'virtual bool Wait::ParseCommand(const char**, std::vector<Command*>&)':
src/commands.cpp:439:30: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'size_t* aka long unsigned int*' [-Wformat=]
sscanf(*cmds, "%u", &millis);
^
g++ -c -Wall src/channels.cpp -o src/channels.o -I/usr/include/opal -I/usr/include/ptlib -Isrc/ -g -DDEBUG
In file included from /usr/include/opal/h323/h323.h:39:0,
from src/includes.h:25,
from src/channels.h:25,
from src/channels.cpp:27:
/usr/include/opal/h323/h323ep.h:148:30: warning: converting to non-pointer type 'unsigned int' from NULL [-Wconversion-null]
unsigned int options = NULL, ///< options to pass to conneciton
^
g++ src/main.o src/commands.o src/channels.o -o sipcmd -lopal -lpt






16.04 apt package-management software-installation dependencies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 22 at 13:23









Vishnu N K

533518




533518










asked Feb 22 at 7:20









YumYumYum

4,3723286133




4,3723286133




closed as off-topic by muru, Zanna, David Foerster, user535733, Eric Carvalho Feb 24 at 19:51


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – muru, Zanna, user535733
If this question can be reworded to fit the rules in the help center, please edit the question.




closed as off-topic by muru, Zanna, David Foerster, user535733, Eric Carvalho Feb 24 at 19:51


This question appears to be off-topic. The users who voted to close gave this specific reason:


  • "This describes a problem that can't be reproduced, that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – muru, Zanna, user535733
If this question can be reworded to fit the rules in the help center, please edit the question.







  • 2




    The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
    – muru
    Feb 22 at 7:38










  • I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
    – YumYumYum
    Feb 22 at 8:00






  • 1




    Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
    – muru
    Feb 22 at 8:03












  • 2




    The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
    – muru
    Feb 22 at 7:38










  • I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
    – YumYumYum
    Feb 22 at 8:00






  • 1




    Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
    – muru
    Feb 22 at 8:03







2




2




The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
– muru
Feb 22 at 7:38




The make output onlny shows warnings, and it shows that headers for opal were found (somehow), so what's the problem?
– muru
Feb 22 at 7:38












I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
– YumYumYum
Feb 22 at 8:00




I think i solved it. It was installed apt-get install libopal-dev, then applied make and it confused me with all those output of WARNING, i get scared when i see WARNING's. Now i checked back and i do see that i have the binary # ls Makefile README.md doc sipcmd src.
– YumYumYum
Feb 22 at 8:00




1




1




Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
– muru
Feb 22 at 8:03




Well, you do have libopal-dev installed somehow. You might have disabled the universe repo after it was installed. See if you have: askubuntu.com/a/378565/158442
– muru
Feb 22 at 8:03










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










Generally speaking: Dependencies for packages can easily be found for supported packages by reviewing the appropriate page in Ubuntu Package Search.



Specifically speaking: The Ubuntu dependencies for the
tmakkonen/sipcmd project (last updated November 2016) you've linked to are listed as libpt-dev & libopal-dev both of which are available after enabling the Universe repository as indicated by @muru in a comment above. Once you have enabled the required repository for the packages you need, your apt-get install commands will work as advertised.






share|improve this answer



























    up vote
    0
    down vote













    Following worked



    make outputs are just WARNING (which was confusing).



    $ cd /root
    $ apt-get install libopal-dev
    $ git clone https://github.com/tmakkonen/sipcmd.git
    $ make

    $ ./sipcmd -P sip -u 244xxx -c 1234 -w sip1.nomado.eu -x "c0012127773456;ws2000;d**;w200;h;j4"


    Description:



    - login to 244xxx with password 1234 at sip1.nomado.eu
    - call 0012127773456
    - wait for 2000 ms
    - send DTMF : * *
    - wait for 200 ms
    - hangup





    share|improve this answer



























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes








      up vote
      1
      down vote



      accepted










      Generally speaking: Dependencies for packages can easily be found for supported packages by reviewing the appropriate page in Ubuntu Package Search.



      Specifically speaking: The Ubuntu dependencies for the
      tmakkonen/sipcmd project (last updated November 2016) you've linked to are listed as libpt-dev & libopal-dev both of which are available after enabling the Universe repository as indicated by @muru in a comment above. Once you have enabled the required repository for the packages you need, your apt-get install commands will work as advertised.






      share|improve this answer
























        up vote
        1
        down vote



        accepted










        Generally speaking: Dependencies for packages can easily be found for supported packages by reviewing the appropriate page in Ubuntu Package Search.



        Specifically speaking: The Ubuntu dependencies for the
        tmakkonen/sipcmd project (last updated November 2016) you've linked to are listed as libpt-dev & libopal-dev both of which are available after enabling the Universe repository as indicated by @muru in a comment above. Once you have enabled the required repository for the packages you need, your apt-get install commands will work as advertised.






        share|improve this answer






















          up vote
          1
          down vote



          accepted







          up vote
          1
          down vote



          accepted






          Generally speaking: Dependencies for packages can easily be found for supported packages by reviewing the appropriate page in Ubuntu Package Search.



          Specifically speaking: The Ubuntu dependencies for the
          tmakkonen/sipcmd project (last updated November 2016) you've linked to are listed as libpt-dev & libopal-dev both of which are available after enabling the Universe repository as indicated by @muru in a comment above. Once you have enabled the required repository for the packages you need, your apt-get install commands will work as advertised.






          share|improve this answer












          Generally speaking: Dependencies for packages can easily be found for supported packages by reviewing the appropriate page in Ubuntu Package Search.



          Specifically speaking: The Ubuntu dependencies for the
          tmakkonen/sipcmd project (last updated November 2016) you've linked to are listed as libpt-dev & libopal-dev both of which are available after enabling the Universe repository as indicated by @muru in a comment above. Once you have enabled the required repository for the packages you need, your apt-get install commands will work as advertised.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 23 at 17:55









          Elder Geek

          25.5k949121




          25.5k949121






















              up vote
              0
              down vote













              Following worked



              make outputs are just WARNING (which was confusing).



              $ cd /root
              $ apt-get install libopal-dev
              $ git clone https://github.com/tmakkonen/sipcmd.git
              $ make

              $ ./sipcmd -P sip -u 244xxx -c 1234 -w sip1.nomado.eu -x "c0012127773456;ws2000;d**;w200;h;j4"


              Description:



              - login to 244xxx with password 1234 at sip1.nomado.eu
              - call 0012127773456
              - wait for 2000 ms
              - send DTMF : * *
              - wait for 200 ms
              - hangup





              share|improve this answer
























                up vote
                0
                down vote













                Following worked



                make outputs are just WARNING (which was confusing).



                $ cd /root
                $ apt-get install libopal-dev
                $ git clone https://github.com/tmakkonen/sipcmd.git
                $ make

                $ ./sipcmd -P sip -u 244xxx -c 1234 -w sip1.nomado.eu -x "c0012127773456;ws2000;d**;w200;h;j4"


                Description:



                - login to 244xxx with password 1234 at sip1.nomado.eu
                - call 0012127773456
                - wait for 2000 ms
                - send DTMF : * *
                - wait for 200 ms
                - hangup





                share|improve this answer






















                  up vote
                  0
                  down vote










                  up vote
                  0
                  down vote









                  Following worked



                  make outputs are just WARNING (which was confusing).



                  $ cd /root
                  $ apt-get install libopal-dev
                  $ git clone https://github.com/tmakkonen/sipcmd.git
                  $ make

                  $ ./sipcmd -P sip -u 244xxx -c 1234 -w sip1.nomado.eu -x "c0012127773456;ws2000;d**;w200;h;j4"


                  Description:



                  - login to 244xxx with password 1234 at sip1.nomado.eu
                  - call 0012127773456
                  - wait for 2000 ms
                  - send DTMF : * *
                  - wait for 200 ms
                  - hangup





                  share|improve this answer












                  Following worked



                  make outputs are just WARNING (which was confusing).



                  $ cd /root
                  $ apt-get install libopal-dev
                  $ git clone https://github.com/tmakkonen/sipcmd.git
                  $ make

                  $ ./sipcmd -P sip -u 244xxx -c 1234 -w sip1.nomado.eu -x "c0012127773456;ws2000;d**;w200;h;j4"


                  Description:



                  - login to 244xxx with password 1234 at sip1.nomado.eu
                  - call 0012127773456
                  - wait for 2000 ms
                  - send DTMF : * *
                  - wait for 200 ms
                  - hangup






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Feb 22 at 8:08









                  YumYumYum

                  4,3723286133




                  4,3723286133












                      Popular posts from this blog

                      How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

                      Trouble downloading packages list due to a “Hash sum mismatch” error

                      How do I move numbers in filenames, in a batch renaming operation?