UPDATES VIA   RSS  |  Email Get updates via feedburner Get updates via twitter
Home / Operating Systems / Ubuntu / Ubuntu terminal: invalid hos…

Ubuntu terminal: invalid host type && configure: error: can only configure for one host and one target at a time

Posted on 24. Aug, 2009 by in Operating Systems, Ubuntu

If you get this error, then most likely a file doesn’t exist or the browser plays tricks on you, driving you mad.

For example here’s  a command:

./configure –with-apxs2=/usr/bin/apxs2 –with-mysql=/usr/bin/mysql

Either /usr/bin/apxs2 doesn’t exist or the argument is incorrect. Instead of a one hyphen before “with-apxs2….”, there should be two. The browser automatically transform the two ones into a single one, leaving you with no clues as where the problem might be. Just change the single hyphen to two of them and everything should be alright.

Translate this post
                    
                    

Related posts:

  1. PHP Error: Call to a member function fetch_assoc() on a non-object in
  2. How To: Install Portable Linux Ubuntu on a bootable USB Flash Drive from SUN VirtualBox
  3. Ubuntu: How to upgrade from Ubuntu Jaunty Jackalope 9.04 to Ubuntu Karmic Koala 9.10
  4. OS: RAM difference between Ubuntu x86 (32 bit with physical address) and Ubuntu x64 (64 bit)

  • sdwrage

    Thank you a lot :) this saved me from pulling my hair out.