Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Google removed 2 auth files?
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Google removed 2 auth files?

WHTWHT Member

Am trying to install Google 2auth on centos but am getting error 404 not found when I try to download the file:

wget https://google-authenticator.googlecode.com/files/libpam-google-authenticator-1.0-source.tar.bz2

Can someone help on this? Where can I find the file to download it?

Thank you.

Comments

  • and how to install it?

  • I have downloaded, unzipped but when I type "make" am getting this error:

    make: *** No targets specified and no makefile found. Stop.

  • @WHT said:
    and how to install it?

    How would you have installed the other one? ;)
    It were also just the packed source files...

    But I guess this is what you are searching for: https://github.com/google/google-authenticator/blob/master/libpam/README.md

  • @WHT said:
    I have downloaded, unzipped but when I type "make" am getting this error:

    make: *** No targets specified and no makefile found. Stop.

    Yeah, you probably didn't cd into the libpam folder first.

  • @Bochi said:

    @WHT said:
    I have downloaded, unzipped but when I type "make" am getting this error:

    make: *** No targets specified and no makefile found. Stop.

    Yeah, you probably didn't cd into the libpam folder first.

    Yeah I was also in that folder:

    [root@srv libpam]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@srv libpam]# make install
    make: *** No rule to make target `install'. Stop.
    [root@srv libpam]# sudo yum make install Loaded plugins: fastestmirror, tsflags, universal-hooks
    No such command: make. Please use /usr/bin/yum --help
    [root@srv libpam]#

  • @WHT said:

    Yeah I was also in that folder:

    [root@srv libpam]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@srv libpam]# make install
    make: *** No rule to make target `install'. Stop.
    [root@srv libpam]# sudo yum make install Loaded plugins: fastestmirror, tsflags, universal-hooks
    No such command: make. Please use /usr/bin/yum --help
    [root@srv libpam]#

    And you did what is written in the README file I posted above and called bootstrap.sh first? :P

  • @Bochi said:

    @WHT said:

    Yeah I was also in that folder:

    [root@srv libpam]# make
    make: *** No targets specified and no makefile found. Stop.
    [root@srv libpam]# make install
    make: *** No rule to make target `install'. Stop.
    [root@srv libpam]# sudo yum make install Loaded plugins: fastestmirror, tsflags, universal-hooks
    No such command: make. Please use /usr/bin/yum --help
    [root@srv libpam]#

    And you did what is written in the README file I posted above and called bootstrap.sh first? :P

    bash: ./bootstrap.sh: Permission denied

  • Well - tried it by myself, working just fine:

    root@de1:~/google-authenticator/libpam# ./bootstrap.sh
    libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build'.
    libtoolize: copying file `build/ltmain.sh'
    libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `build'.
    libtoolize: copying file `build/libtool.m4'
    libtoolize: copying file `build/ltoptions.m4'
    libtoolize: copying file `build/ltsugar.m4'
    libtoolize: copying file `build/ltversion.m4'
    libtoolize: copying file `build/lt~obsolete.m4'
    configure.ac:7: installing 'build/compile'
    configure.ac:11: installing 'build/config.guess'
    configure.ac:11: installing 'build/config.sub'
    configure.ac:8: installing 'build/install-sh'
    configure.ac:8: installing 'build/missing'
    Makefile.am: installing 'build/depcomp'
    

    Guess you can figure out the rest. ;)

  • Yeah this is how should be but for some reason cant execute the bootstrap.sh. Also tried chmod +x but again same issue.

  • worked with "sh bootstrap.sh"

    Thanks :)

  • @WHT said:
    Yeah this is how should be but for some reason cant execute the bootstrap.sh. Also tried chmod +x but again same issue.

    Then call the command in it yourself: exec autoreconf -i
    Just went through the whole process of installing it and everything works as expected, libraries are installed.

  • What's your problem? Can't you just continue with that, but now starting at "Set Up Google Authenticator"?

  • Cant.

    Now I have the same problem with the configure file.

    checking for gcc... gcc
    checking for C compiler default output file name... a.out
    checking whether the C compiler works... configure: error: in /tmp/google- authenticator-master/libpam': configure: error: cannot run C compiled programs. If you meant to cross compile, use--host'.
    See `config.log' for more details.

  • Well then, what does config.log tell you?
    And do you have correctly installed gcc, glibc-devel, make and such? ;)
    Come on, I guess this is a problem you and Mr. Google are able so solve on your own. :P

  • I hate linux. /thread

Sign In or Register to comment.